myusuf3 Asked: 2010-10-11 12:39:16 +0800 CST2010-10-11 12:39:16 +0800 CST 2010-10-11 12:39:16 +0800 CST Upgrading from the command line? [duplicate] 772 I would like to know how to upgrade from my current version of Ubuntu to the next stable from the Command line interface? command-line release-management upgrade 3 Answers Voted Best Answer Meta Bergman 2010-10-11T12:43:31+08:002010-10-11T12:43:31+08:00 You'll first need to make sure update-manager-core is present (it may already be installed): sudo apt-get install update-manager-core Next, run: sudo do-release-upgrade You may need to check /etc/update-manager/release-upgrades and change the line: Prompt=lts to: Prompt=normal for the release to show up. Upgrade Documentation Upgrade Notes PetterA 2010-10-13T08:46:15+08:002010-10-13T08:46:15+08:00 If you run the command sudo do-release-upgrade -d through SSH then use a GNU Screen, because the upgrade process will turn off SSH -> close the default port and open a new one (it will inform you of this new port), so: $ ssh USER@HOST $ screen -S upgrade $ sudo do-release-upgrade -d open a new terminal on client computer: $ ssh -p PORT USER@HOST $ screen -d $ screen -r upgrade Peter Smit 2010-10-11T12:42:04+08:002010-10-11T12:42:04+08:00 You can do sudo do-release-upgrade for command line updating (This is actually the same as for Ubuntu Server)
You'll first need to make sure update-manager-core is present (it may already be installed):
Next, run:
You may need to check
/etc/update-manager/release-upgrades
and change the line:to:
for the release to show up.
If you run the command
sudo do-release-upgrade -d
through SSH then use a GNU Screen, because the upgrade process will turn off SSH -> close the default port and open a new one (it will inform you of this new port), so:open a new terminal on client computer:
You can do
for command line updating
(This is actually the same as for Ubuntu Server)