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

Bug#254820: "apt-cache priority pkg" wrong on priorities



Package: apt
Version: 0.5.25
Severity: normal

master@tofu:~$ apt-cache policy initscripts
initscripts:
  Installed: 2.85-15
  Candidate: 2.85-15
  Package Pin: 2.85-15
  Version Table:
     2.85-20 1000
        300 http://server.home.mamane.lu sarge/main Packages
        200 http://server.home.mamane.lu sid/main Packages
 *** 2.85-15 1000
        100 /var/lib/dpkg/status

The priority of 2.85-20 is displayed as 1000, but is 300. If it were
1000, too, it would be the candidate.

In this bug report, the automatically generated "System Information
says"
  APT prefers testing
but as my preferences file shows, stable is preferred, second only to
my own personal apt repository, which is:
 700 http://debian.home.mamane.lu woody/main Packages
     release v=3.0,o=LEMCorp,a=stable,l=Debian,c=main
     origin debian.home.mamane.lu

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Cache-Limit "16777216";
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:: "if dpkg -s apt-listbugs | grep -q '^Status: .* ok installed'; then /usr/sbin/apt-listbugs apt || ( test $? -ne 10 || exit 10; echo 'Warning: apt-listbugs exited abnormally, hit any key to continue.' 1>&2 ; read a < /dev/tty ); fi";
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 o=LEMCorp
Pin-Priority: 700

Package: *
Pin: release a=stable
Pin-Priority: 600

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

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

Package: freeswan
Pin: release a=unstable
Pin-Priority: 650

Package: kernel-patch-freeswan
Pin: release a=unstable
Pin-Priority: 650

Package: kernel-patch-freeswan-ext
Pin: release a=unstable
Pin-Priority: 650


Explanation: Pinned by apt-listbugs at jeu jun 17 07:32:05 CEST 2004
Explanation:   #254271: initscripts: mount from mountvirtfs may specify wrong/non-existent options
Package: initscripts
Pin: version 2.85-15
Pin-Priority: 1000

-- (/etc/apt/sources.list present, but not submitted) --


-- System Information:
Debian Release: 3.0
  APT prefers testing
  APT policy: (300, 'testing'), (200, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.4.23
Locale: LANG=fr_LU@euro, LC_CTYPE=fr_LU@euro

Versions of packages apt depends on:
ii  libc6                       2.3.2.ds1-12 GNU C Library: Shared libraries an
ii  libgcc1                     1:3.3.4-1    GCC support library
ii  libstdc++5                  1:3.3.4-1    The GNU Standard C++ Library v3

-- no debconf information



Reply to: