[ start | index | login ]

debian

Created by retep. Last edited by kron, one year and 163 days ago. Viewed 1,255 times. #6
[diff] [history] [edit] [rdf]
labels
attachments

Debian Sarge to Etch

On Debian? What does

cat /etc/debian_version
say?

3.0 is Woody 3.1 is Sarge 4.0 is Etch

If you want to dist-upgrade to Etch use something like this for your /etc/apt/sources.list:

deb http://http.us.debian.org/debian etch main contrib non-free
deb http://security.debian.org etch/updates main contrib non-free

Or normally the following will work:

sed --in-place 's/^([^#].*debian-non-US)/#1/g' /etc/apt/sources.list
sed --in-place 's/sarge/etch/g'  /etc/apt/sources.list

Then run

# to minimize all those tedious 'are you sure'? messages.
export DEBIAN_PRIORITY=critical
export DEBIAN_FRONTEND=noninteractive

# run the dist upgrade apt-get update apt-get dist-upgrade

We have run this a few times on VPS'. And the process seems pretty safe/hassle free.

If you get errors like these:

WARNING: The following packages cannot be authenticated!
  libruby1.8 ruby1.8 ruby
Install these packages without verification [y/N]?

Run:

gpg --keyserver pgpkeys.mit.edu --recv-key 2D230C5F
gpg -a --export 2D230C5F | apt-key add -
apt-get update
请以发表评论身份登录
Powered by snipsnap.org Found a mistake in a howto? Let us know via an email to p.blikibugs at rimuhosting com.