Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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:~$ 
share|improve this question

marked as duplicate by Alvar, Marco Ceppi Apr 26 '11 at 11:16

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
With sudo apt-get dist-upgrade it should work. –  Dani3l Apr 26 '11 at 9:23
    
IT DIDN'T! GRRR... –  Alvar Apr 26 '11 at 9:28

2 Answers 2

up vote 4 down vote accepted

check this:

Upgrading from the command line?

share|improve this answer
1  
I think that link makes it pretty clear. Cheers for posting that up. –  boehj Apr 26 '11 at 9:35
$ sudo apt-get install update-manager-core
$ sudo apt-get dist-upgrade

should do the trick.

share|improve this answer
    
Still same problem nothing happened (newest version were installed). –  Alvar Apr 26 '11 at 9: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 9: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 9:29

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