PDA

View Full Version : [ubuntu] cli upgrade command from 7.1 to 8.04



atl_CCk
May 27th, 2008, 03:43 PM
I am running 7.10 with problems. I can't do an upgrade from gnome desktop, no ? for root password. Can someone tell me the command sequence to perform this function from a command line?

ibutho
May 27th, 2008, 03:49 PM
You first need to edit your /etc/apt/sources.list and change all instances of gutsy to hardy. After that run

sudo aptitude update
sudo aptitude full-upgrade

zvacet
May 27th, 2008, 04:12 PM
I can't do an upgrade from gnome desktop, no ?

Yes,you can.System>admin>update manager but before you do that be sure that your system is up-to-date


sudo aptitude update && sudo aptitude safe-upgrade

After that you should see in update manager message that new version is available for upgrade.

atl_CCk
May 29th, 2008, 04:06 PM
Problem turned out to be error in /etc/sudoers file line 20 had a carriage return(CR). Removed the CR as in root ALL=(
ALL) ALL
to
root ALL=(ALL) ALL
And it worked!

Cleaned up a lot of problems?