Separate downloading and upgrading

Bug #108515 reported by Marius Gedminas
2
Affects Status Importance Assigned to Milestone
Software Updater
Fix Committed
Wishlist
Unassigned
update-manager (Ubuntu)
Fix Committed
Wishlist
Unassigned

Bug Description

Currently the distribution upgrade is monolithic: after the confirmation it downloads all the packages and starts upgrading them immediately. That doesn't suit me much: the download time is not predictable (and can take several hours on a slow connection, or on a fast connection, when the mirrors are overloaded). I wish to continue working normally while update manager downloads the packages. Then I wish to choose the time when update manager starts the upgrade (what if it upgrades some package when I'm in the middle of using it?).

Previously I used to change /etc/apt/sources to the next release and run apt-get-update; apt-get dist-upgrade -d to download most of the packages into /var/cache/apt/archives. Later I'd run update-manager to do the upgrade and most of the packages would already be downloaded.

I tried the same yesterday. I spent the whole day downloading debs at 20 kilobytes/second. Today I ran update-manager and it said that it needed to download > 900 megs. I check /var/cache/apt/archives, and it's mostly empty. I do not know which piece of code ran apt-get clean, but it certainly wasn't I.

My request for this bug report: please allow the user to choose to download the packages only and install them at a latter time. Or, at the very least, do not clean the apt cache before downloading the packages.

Michael Vogt (mvo)
Changed in update-manager:
importance: Undecided → Wishlist
status: Unconfirmed → Confirmed
importance: Undecided → Wishlist
status: Unconfirmed → Confirmed
Michael Vogt (mvo)
Changed in update-manager:
status: Confirmed → Fix Committed
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.