Super User is a question and answer site for computer enthusiasts and power users. 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'm running Lucid Lynx and I would like to upgrade to the Meerkat version.

Which command can I use from the terminal to download and perform this upgrade?

I've tried sudo apt-get upgrade but that just seems to update any packages I have installed, and not the actual system itself

share|improve this question
up vote 2 down vote accepted

I believe it's sudo apt-get dist-upgrade but that didn't work for me.

Canonical says to just run update-manager and choose the Upgrade button on the topright ish of the window.

share|improve this answer
    
update-manager -dwill upgrade to the current development version, not to 10.10 ! – JanC Oct 30 '10 at 22:42
    
AFAIK, it just says that, but upgrades you to the final 10.10 anyway. – digitxp Oct 31 '10 at 13:58
1  
In any case, there is no reason to use the "-d" option and take the risk, as update-manager will provide the upgrade button by default if there is a new release available... – JanC Nov 4 '10 at 14:24
    
It's kinda odd then that a lot of the documentation floating around the web includes -d. – digitxp Nov 5 '10 at 0:54

http://www.ubuntu.com/desktop/get-ubuntu/upgrade

share|improve this answer
    
The key point from within there: sudo do-release-upgrade – ephemient Nov 5 '10 at 1:43

To upgrade system from the command line, use these commands:

sudo apt-get update
sudo apt-get dist-upgrade
share|improve this answer
    
Unfortunately, that won't upgrade to the next release version. – jokerdino Jul 14 '12 at 6:02

For Ubuntu version upgrade first apply all the updates with following command sudo apt-get upgrade Then run following command sudo apt-get dist-upgrade

share|improve this answer
    
apt-get dist-upgrade doesn't upgrade to a new release, it does the same as apt-get update but may also install new packages or remove packages to satisfy dependencies. – Florian Diesch Oct 31 '10 at 23:50
    
No problem if the above doesnt work then you can try following: sudo aptitude install update-manager-core sudo do-release-upgrade -d – TusharG Nov 1 '10 at 4:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .