Upgrade 6.10 to 7.04 by command line so start and stop download - i'm restricted to 375 MB per 4 hours

Asked by phillipblair

Trying to upgrade from 6.10 to 7.04
I am on a Satellite connection and can only download 375 MB per 4 hours. I started the upgrade but the pipe was choked at file 629 out of 900 plus files.
#1 do i need to delete those downloaded files?
#2 is their a command line prompt to down load files in two pieces?
#3 is there a better way to upgrade from one release to the next?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Sam Morris (yrro) said :
#1

If you're using apt-get or aptitude then you can use --download-only to make apt only download, not install the packages. They will be downloaded to /var/cache/apt/archives/; if you check in there you should see the 629 files that you already downloaded (plus more if there were already packages in that directory). So there's no need to delete the already-downloaded files--the next time you run apt it will continue from where it left off.

As for limiting the speed, I don't know how to get apt to download the packages in batches; however you can limit the overall speed with the 'trickle' package. After installing the package, try this:

 # trickle -d 25 aptitude --with-recommends --download-only dist-upgrade

This will limit aptitude to downloading 25 KB/sec which = ~88 MB/hour = ~351 MB in 4 hours.

Can you help with this problem?

Provide an answer of your own, or ask phillipblair for more information if necessary.

To post a message you must log in.