apt {upgrade,install, source} require an update call first
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
I think that this should be tracked in its own separate bug tracking my specific UX objection to the current status quo.
See https:/
We think that the updating of indexes should be an implementation detail of "apt upgrade" and "apt install", rather than something exposed to the user. If updating is judged be required (for example the index is more than X old), then it should be done automatically before the requested operation commences.
Here's one proposed implementation:
1) Fix bug 1429285 ("apt-get update --if-necessary").
2) Add an option to have "apt install" and "apt upgrade" (also "apt full-upgrade", etc?) automatically and internally call the implementation of "apt-get update --if-necessary" first.
3) Enable the option by default on Ubuntu.
This would change the behaviour of "apt", which AIUI is intended to be the user focused CLI. It wouldn't change the behaviour of "apt-get", which AIUI needs to retain behavioural backwards compatibility for existing scripts.
Then we could promote "apt install" and "apt upgrade" as much simpler commands to operate.
Note that Julian disagreed with this proposed behaviour change in https:/
summary: |
- apt {upgrade,install} require an update call first + apt {upgrade,install, source} require an update call first |
Status changed to 'Confirmed' because the bug affects multiple users.