Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
possible duplicate of How do I upgrade from 11.04 to 11.10? – Jorge Castro Nov 29 '11 at 0:07
up vote 6 down vote accepted

From the Ubuntu help website:

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

Also from the manpage for do-release-upgrade:

   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

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.

share|improve this answer

Try do-release-upgrade as root. That should upgrade the system.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.