Wednesday, January 20, 2016

How Can I Upgrade to 11.10 from the Command Line?


I am trying to upgrade my 11.04 Ubuntu operating system to 11.10, as the current system is not the most recent.


However, I cannot use the GUI to upgrade - as from past experience I have learned this - because my graphics hardware only works on 10.04 to 11.04 (non-inclusive) and from 11.10+. So once I can get to 11.10, I should be just fine.


Because of this, I need to find a way to upgrade the OS from the command line. Can this be done?


Thanks for any and all help.



From the Ubuntu help website:


sudo apt-get install update-manager-core
sudo do-release-upgrade

Also from the manpage for do-release-upgrade:


DESCRIPTION
Upgrade the operating system to the latest release from the
command-line. This is the preferred command if the machine has no
graphic environment or if the machine is to be upgraded over a remote
connection.

Disclaimer: I always install a fresh copy (I tweak and hack things on my installs, so it would be more hassle to upgrade than start fresh), so I have never tried upgrading through either the GUI or the command line. But this is the official method of doing the upgrade so it should be fine. I'd still back up any important data first though.


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...