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

How to pin certain packages from experimental?



Hi,

On a development system, I'd like to have experimental and unstable in
the sources.list, and to have experimental pinned down to a priority
tha experimental is never considered. For certain packages, I'd like
apt to consider experimental as well, taking whatever is newer from
experimental and unstable.

My sources.list:
deb http://debian.example/debian/ sid main contrib
deb http://debian.example/debian ../project/experimental main contrib

My preferences:
Package: *
Pin: release o=Debian,a=experimental
Pin-Priority: -12

Package: exim4-daemon-light
Pin: release o=Debian,a=experimental
Pin-Priority: 555

The system has exim4-daemon-light 4.50-1 installed. That version has
been in experimental, and has been removed from there when 4.50-2 was
uploaded to unstable. However, the system in question has not updated
automatically.

$ apt-cache policy exim4-daemon-light
exim4-daemon-light:
  Installed: 4.50-1
  Candidate: 4.50-1
  Package Pin: (not found)
  Version Table:
     4.50-4 555
        500 http://debian.debian.zugschlus.de sid/main Packages
 *** 4.50-1 555
        100 /var/lib/dpkg/status
     4.44-2 555
        500 http://debian.debian.zugschlus.de sarge/main Packages
$ 

What am I doing wrong?

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835



Reply to: