0

Possible Duplicate:
Upgrading from the command line?

Hi,

I dont want to use the update manager I just want to type one command in a terminal do you understand? I am at 10.04 and want to upgrade to 10.10 (and on the 29 of april 11.04) in a terminal, can it be done?

$ sudo apt-get dist-upgrade
[sudo] password for alvar: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
alvar@alvars-laptop:~$ 
Alvar
  • 17,058

2 Answers2

4

check this:

Upgrading from the command line?

Dani3l
  • 359
0
$ sudo apt-get install update-manager-core
$ sudo apt-get dist-upgrade

should do the trick.

boehj
  • 2,051
  • Still same problem nothing happened (newest version were installed). – Alvar Apr 26 '11 at 09:22
  • @Alvar - sorry, I left off update-manager-core which is apparently required. I'm sure I just did the one-liner in that past and it worked. Perhaps the problem is that you're on an LTS version. Not sure. – boehj Apr 26 '11 at 09:27
  • 1
    From here --> Now we need to make a simple edit to the /etc/update-manager/release-upgrades. This file determines the default behavior for the release upgrader. The line you need to change is at the bottom of this file. Change it from:

    Prompt=lts

    to

    Prompt=normal Then: sudo do-release-upgrade -d

    – boehj Apr 26 '11 at 09:29