Bug#405279: apt: can't get preferences to work correctly
Package: apt
Version: 0.6.46.4
I'm running a testing distribution. I've got
www.debian-multimedia.org in my sources.list, but I want the Debian
version of mplayer to be used in preference to the debian-multimedia
version.
In my sources.list I have:
deb http://ftp.uk.debian.org/debian/ testing main contrib non-free
deb http://www.debian-multimedia.org testing main
[...]
In my /etc/apt/apt.conf I have the single line:
APT::Default-Release "testing";
and there's nothing relevant in /etc/apt/apt.conf.d/ .
In my /etc/apt/preferences I have:
Package: *
Pin: origin "www.debian-multimedia.org"
Pin-Priority: 50
Package: *
Pin: release a=unstable
Pin-Priority: 60
But it doesn't work: it always tries to download the
www.debian-multimedia.org version (which has a higher version number
than the debian.org one).
The output of apt-cache policy includes:
990 http://www.debian-multimedia.org testing/main Packages
release o=Unofficial Multimedia Packages,a=testing,l=Unofficial Multimedia Packages,c=main
origin www.debian-multimedia.org
What am I doing wrong? Or is it a bug in APT?
Thanks,
Julian
Reply to: