upgrade Ubuntu or Debian

From Noah.org
Revision as of 18:39, 29 October 2013 by Root (Talk | contribs) (Created page with 'Category:Engineering Edit '''/etc/apt/source.list''' with the new distribution release. In this example, I upgrade from MIPS '''lenny''' to '''squeeze'''. By the time you re…')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Edit /etc/apt/source.list with the new distribution release. In this example, I upgrade from MIPS lenny to squeeze. By the time you read this squeeze will probably be in archive.debian.org. I wish archive would also include the latest distribution releases.

# deb http://archive.debian.org/debian/ lenny main
# deb-src http://archive.debian.org/debian/ lenny main
deb http://ftp.debian.org/debian/ squeeze main
deb-src http://ftp.debian.org/debian/ squeeze main

Next run the following commands to update the package database and to upgrade the distro.

apt-get update
apt-get dist-upgrade

That's it. This is pretty simple, but sometimes things go wrong... Yeah, well, good luck.