do-release-upgrade with a "just download" option

Asked by Andreas Beder

I took a short view into the do-release-upgrade script, and
i wonder while there is NO "just download" option, like apt-get --download-only.

Is there are possibility to download the release packages in advance ?!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager-core Edit question
Assignee:
No assignee Edit question
Solved by:
Andreas Beder
Solved:
Last query:
Last reply:
Revision history for this message
enubuntu (mr.tennents) said :
#1

If you want to download all the update automatically when it's proposed, do this:
1. Open a terminal by hitting CTRL + ALT + T
2. Insert this command:
sudo software-properties-gtk

3. In one of this tab of the window, (probably update) select what you want in automatic updates.

Sorry if I have misunderstood

Revision history for this message
Andreas Beder (andreas-beder) said :
#2

I did a "do-release-upgrade" on a virtual machine and then copied all files from /var/cache/apt/archives to the
target system which should do the trick..

anyway, i really wonder that there is no --download-only option at the "do-release-upgrade" script

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#3

Another common method to not download all the packages is to set an apt proxy cache ubuntu pc can be the same pc where you have done the do-release-upgrade...

Main site: http://www.unix-ag.uni-kl.de/~bloch/acng/

One howto: http://www.ubuntugeek.com/apt-cacher-ng-http-download-proxy-for-software-packages.html

Ubuntu answer: https://answers.launchpad.net/ubuntu/+source/apt-cacher-ng

Revision history for this message
Mekk (marcin-kasperski) said :
#4

Workaround 1
============

This does the trick:

- start do-release-upgrade

- answer questions and forward until it starts downloading things

- Ctrl-C it

- run

    apt-get dist-upgrade -d

This will download packages without installing them. Afterwards run do-release-upgrade, it will find the packages present.

Workaround 2
============

Download iso image.

When ready, mount it via loop interface, and perform cdromupgrade.