-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm trying to understand how apt-setup works. Just so you know where I'm coming from, I have a very large install base of Debian Sarge built from testing installer discs. The problem that I am having is that after converting my PC (my first and foremost testing box) to Sarge stable (I even downgraded over 100 packages to become purely stable) apt-setup still insists on giving me testing sources. I've been building servers looking forward to the Sarge release, and now that it's out I want to keep them all at stable. If we hire a new admin in 6 months and he uses apt-setup to get a different mirror I don't want it to be testing.

I've found the following in /usr/sbin/apt-setup:
        # Figure out which suite to use.
if apt-cache policy | grep "o=Debian,a=" | grep -q 'a=testing'; then
            SUITE="testing"
        else
            SUITE="stable"
        fi

The output of `apt-cache policy` is this:
$ apt-cache policy
Package Files:
100 /var/lib/dpkg/status
     release a=now
500 http://security.debian.org stable/updates/non-free Packages
release v=3.1,o=Debian,a=stable,l=Debian-Security,c=updates/non- free
     origin security.debian.org
500 http://security.debian.org stable/updates/main Packages
     release v=3.1,o=Debian,a=stable,l=Debian-Security,c=updates/main
     origin security.debian.org
500 http://mirrors.kernel.org stable/non-free Packages
     release v=3.1r0,o=Debian,a=stable,l=Debian,c=non-free
     origin mirrors.kernel.org
500 http://mirrors.kernel.org stable/main Packages
     release v=3.1r0,o=Debian,a=stable,l=Debian,c=main
     origin mirrors.kernel.org
Pinned Packages:
$

As you can see, nothing says testing. Yet when I use apt-setup it always creates a testing source. How is this controlled, and how can this be fixed? Should this be filed as a bug?

- -- Brian Bennett
[EMAIL PROTECTED]
http://digitalelf.net/

A numeric illustration uses me.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFCpdBeREYdwLXKa5IRAj3CAJ9on+k0YKuc2rnxDepw2wPEnFwOsQCgl2uD
t73Gn9u+1UIRq+FUOczpTzw=
=i63E
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to