Re: upgrade to new distribution from command line

Originally Posted by
ant2ne
If I load the GUI update-manager, it says "New distribution release '09.04' is available" and it has an "upgrade" button.
but at the console
Code:
ant2ne@2ne-buntu:~$ sudo apt-get dist-upgrade
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.
ant2ne@2ne-buntu:~$
So I assume dist-upgrade upgrades my current distribution but doesn't upgrade me to the next distribution.
How can I upgrade distributions via command line.
I have one 8.04 box that I'm upgrading to 9.10 right now. I'd like to do it SSH, but I can pound it out via GUI for now.
I have several 8.04lts servers that I'm going to want to upgrade to 10.4 and they don't have a GUI.
run this
Code:
sudo nano /etc/apt/sources.list
change all distributions to karmic (from hardy)
then save it (press ctrl+x, select save)
then run this
Code:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
Don't waste your energy trying to change opinions ... Do your thing, and don't care if they like it.
Bookmarks