[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt and dists



On Fri, Dec 28, 2001 at 03:09:12AM +0100, martin f krafft wrote:
> folks,
> i can't find the docs on this, really, or i am merely too confused.
> bear with me please...
> i've heard you can configure apt/dpkg so that it knows about e.g.
> testing and unstable versions of the same archive (e.g.
> main/binary-i386), and then pass an option to apt/dpkg which causes it
> to select the appropriate distribution on a per-packet basis.

First install new woody "apt". Then "man apt_preferences"
Also "apt-howto" in woody is good for reading.

For your needs, /etc/apt/preferences shall be;
Package: *
Pin: release a=unstable
Pin-Priority: 80

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

But since Debian is alredy in freeze mode, I track unstable while
locking few key packages to testing using follows:  Cheers :)

Package: *
Pin: release a=unstable
Pin-Priority: 800

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

Package: libc6
Pin: release a=testing
Pin-Priority: 1100

Package: libdb2
Pin: release a=testing
Pin-Priority: 1100

Package: libdb2-util
Pin: release a=testing
Pin-Priority: 1100

Package: bash
Pin: release a=testing
Pin-Priority: 1100

Package: ash
Pin: release a=testing
Pin-Priority: 1100

Package: dpkg
Pin: release a=testing
Pin-Priority: 1100

Package: apt
Pin: release a=testing
Pin-Priority: 1100

Package: bsdutils
Pin: release a=testing
Pin-Priority: 1100

Package: util-linux
Pin: release a=testing
Pin-Priority: 1100

Package: login
Pin: release a=testing
Pin-Priority: 1100

Package: exim
Pin: release a=testing
Pin-Priority: 1100

Package: exim-doc
Pin: release a=testing
Pin-Priority: 1100

Package: exim-doc-html
Pin: release a=testing
Pin-Priority: 1100

Package: mutt
Pin: release a=testing
Pin-Priority: 1100

Package: procmail
Pin: release a=testing
Pin-Priority: 1100

Package: fetchmail
Pin: release a=testing
Pin-Priority: 1100

Package: fetchmail-common
Pin: release a=testing
Pin-Priority: 1100

Package: fetchmail-ssl
Pin: release a=testing
Pin-Priority: 1100

Package: fetchmailconf
Pin: release a=testing
Pin-Priority: 1100

Package: mailx
Pin: release a=testing
Pin-Priority: 1100

Package: samba
Pin: release a=testing
Pin-Priority: 1100

Package: samba-doc
Pin: release a=testing
Pin-Priority: 1100

Package: samba-common
Pin: release a=testing
Pin-Priority: 1100

Package: smbclient
Pin: release a=testing
Pin-Priority: 1100

Package: smbfs
Pin: release a=testing
Pin-Priority: 1100

Package: swat
Pin: release a=testing
Pin-Priority: 1100

Package: mc
Pin: release a=testing
Pin-Priority: 1100

Package: mc-common
Pin: release a=testing
Pin-Priority: 1100


-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ 
+  Osamu Aoki <debian@aokiconsulting.com>, GnuPG-key: 1024D/D5DE453D  +
+  My debian quick-reference, http://qref.sourceforge.net/quick/      +



Reply to: