update distro...

der.hans plug-discuss@lists.plug.phoenix.az.us
Fri, 22 Mar 2002 12:02:01 -0700 (MST)


Am 21. Mar, 2002 schwätzte jtannenba so:

> Ok, was using deb potato and want to go to woody as
> an apt-get upgrade...It doesn't upgrade to woody, just
> does security updates (?)  Is there a set way to do
> this that is not obvious?

Make sure you've updated sources.list to point to the right place and
done an 'apt-get update'. Do you see testing/woody Packages files being
downloaded during the update?

Example sources.list:

deb http://security.debian.org stable/updates main contrib non-free
# deb http://http.us.debian.org/debian stable main contrib non-free
# deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free

deb http://http.us.debian.org/debian testing main contrib non-free
deb http://non-us.debian.org/debian-non-US testing/non-US main contrib non-free

Also see if you have an /etc/apt/preferences file. If you didn't put it
there, you shouldn't have one.

$ cat /etc/apt/preferences
Package: *
Pin: release stable
Pin-Priority: 600

Package: *
Pin: release testing
Pin-Priority: 700

Package: *
Pin: release unstable
Pin-Priority: 80
$

Highest priority over 100 wins. Going over 1000 means it can downgrade
packages. See 'man apt_preferences' or posts I made to debian-users 5 or 6
months ago for more info on how to use preferences. If you setup preferences
properly you can leave all three uncommented in sources.list. That's what I
do.

ciao,

der.hans
-- 
#  http://home.pages.de/~lufthans/   http://www.<ThisSpaceAvailable>.com/
#  Eternal vigilance is the price of liberty. -- Thomas Jefferson