Will apt-get dist-upgrade do the exact same thing as running do-release-upgrade?
I'm currently running Ubuntu Server 11.04.
Will apt-get dist-upgrade do the exact same thing as running do-release-upgrade?
I'm currently running Ubuntu Server 11.04.
apt-get dist-upgrade
will not carry out a release update, unless you modify/etc/apt/sources.list
.This command updates all installed packages and their dependency changes. If you combine running this command with appropriate changes to the
/etc/apt/sources.list
file, you can upgrade your version of Ubuntu.do-release-upgrade
will carry out a release update.So for example, if you want to move from Ubuntu 11.04 to 11.10, you have 2 options:
/etc/apt/sources.list
file to "oneiric" and run the commandapt-get dist-upgrade
do-release-upgrade
command.