How can I upgrade my ubuntu system from the command line?

3

1

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

user155695

Posted 2010-10-30T20:51:50.223

Reputation: 2 819

Answers

2

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.

digitxp

Posted 2010-10-30T20:51:50.223

Reputation: 13 502

update-manager -dwill upgrade to the current development version, not to 10.10 ! – JanC – 2010-10-30T22:42:21.243

AFAIK, it just says that, but upgrades you to the final 10.10 anyway. – digitxp – 2010-10-31T13:58:33.377

1In 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 – 2010-11-04T14:24:22.397

It's kinda odd then that a lot of the documentation floating around the web includes -d. – digitxp – 2010-11-05T00:54:37.703

7

Troglobit

Posted 2010-10-30T20:51:50.223

Reputation: 91

2The key point from within there: sudo do-release-upgrade – ephemient – 2010-11-05T01:43:32.070

0

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

sudo apt-get update
sudo apt-get dist-upgrade

user54278

Posted 2010-10-30T20:51:50.223

Reputation: 1

Unfortunately, that won't upgrade to the next release version. – jokerdino – 2012-07-14T06:02:23.193