- First you need to update /etc/apt/sources.list. Just open it up with your favorite editor
sudo vi /etc/apt/sources.list - Since I was using 5.10, at the end of all the URL’s it should say ‘breezy’. You need to change all of these to ‘edgy’. Write the file out and quit.
- Next, we need to update the source list by using the following command
sudo apt-get update - To upgrade to the new distro, just enter dist-upgrade!
sudo apt-get dist-upgrade - It will ask you if you want to update all of these packages, just say yes. Also, I had a few times that I had to hit ‘OK’ to confirm some postfix stuff. Since im not running any mail services, I dont need to set this up. Just keep an eye on the update since these messages delay the update.
- You may have to force some installs/updates. If so (I had to do this), just enter
sudo apt-get -f install - Once the upgrade is complete (it took mine forever since I was also downloading a trial game AND cygwin), restart your machine
sudo shutdown -r now - Done!
Thursday, November 6, 2008
How to update Ubuntu Server from command line
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment