I'm running lubuntu 10.10, and would like to upgrade to 11.04. I have a very temperamental internet connection, so I would like to download all the packages before running the install.
According to this, there is no easy way to do this. The bug report mentioned in that thread is still open.
My question: Is there a way to hack do-release-upgrade to only download the packages, kind of like adding a "-d" to apt-get dist-upgrade?
Or is doing it manually the only way to get the result I desire?
If I have to do it manually, are these the steps needed to do it, or am I missing something?
- Disable 3rd party repositories in
/etc/apt/sources.list
and/etc/apt/sources.list.d
- Change repositories in
/etc/apt/sources.list
frommaverick
tonatty
- run
sudo apt-get update
- run
sudo apt-get -d dist-upgrade
to only download the packages. Do this as many times as necessary until all the packages are downloaded. - run
sudo apt-get dist-upgrade
to complete the upgrade process
apt-get --download-only --target-release groovy dist-upgrade