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

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

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 :

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 :

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:

One howto:

Ubuntu answer:

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

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.