Bug#239247: apt seems to pin all versions indiscriminately
Package: apt
Version: 0.5.24
Severity: normal
I'm trying to prevent Christian Marillat's non-free unace package from
overriding the Debian package:
Package: unace
Pin: version 2.20*
Pin-Priority: 49
I tried many variations of version, origin and release, to no avail:
[fbriere] toroia:~ $ apt-show-versions unace
unace/unstable upgradeable from 1.2b-1 to 2.20-0.0
Here's the output of apt-cache policy:
unace:
Installed: 1.2b-1
Candidate: 2.20-0.0
Package Pin: 2.20-0.0
Version Table:
2.20-0.0 49
500 ftp://ftp.nerim.net unstable/main Packages
*** 1.2b-1 49
500 http://http.us.debian.org unstable/main Packages
100 /var/lib/dpkg/status
1.2b-0fbriere.4 49
500 http://www.fbriere.net ./ Packages
All version appear to be pinned at 49, instead of only 2.20-0.0.
-- Package-specific info:
-- apt-config dump --
APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne 10";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Tools "";
DPkg::Tools::Options "";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
-- /etc/apt/preferences --
Package: *
Pin: release a=experimental
Pin-Priority: 50
Package: unace
Pin: version 2.20*
Pin-Priority: 49
-- /etc/apt/sources.list --
# Main Debian packages
deb http://http.us.debian.org/debian unstable main contrib non-free
deb-src http://http.us.debian.org/debian unstable main contrib non-free
#deb http://debian.yorku.ca/debian-non-US unstable/non-US main contrib non-free
# Eep!
deb http://http.us.debian.org/debian experimental main contrib non-free
# Home-made packages
deb http://www.fbriere.net/debian/dists/unstable ./
deb-src http://www.fbriere.net/debian/dists/unstable ./
deb http://www.hyrule.dyndns.org/debian/dists/unstable ./
deb-src http://www.hyrule.dyndns.org/debian/dists/unstable ./
# Local packages
deb http://www.hyrule.dyndns.org/debian/dists/local ./
# Mplayer + codecs
deb-src http://perso.wanadoo.fr/debian/ unstable main
deb ftp://ftp.nerim.net/debian-marillat/ unstable main
# Quakeforge
#deb http://zuul.quakeforge.net/packages/debian unstable contrib non-free
# Java
deb http://www.tux.org/pub/java/debian unstable main non-free
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (50, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.4
Locale: LANG=en_CA, LC_CTYPE=en_CA
Versions of packages apt depends on:
ii libc6 2.3.2.ds1-11 GNU C Library: Shared libraries an
ii libgcc1 1:3.3.3-4 GCC support library
ii libstdc++5 1:3.3.3-4 The GNU Standard C++ Library v3
-- no debconf information
Reply to: