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

Bug#685989: marked as done (apt: incorrect description of Pin-Priority: 100 in man page apt_preferences)



Your message dated Tue, 11 Sep 2012 15:32:49 +0000
with message-id <E1TBSSH-0004Pb-Tz@franck.debian.org>
and subject line Bug#685989: fixed in apt 0.9.7.5
has caused the Debian Bug report #685989,
regarding apt: incorrect description of Pin-Priority: 100 in man page apt_preferences
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
685989: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=685989
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 0.9.7.2
Severity: minor

Man page apt_preferences states:

        "0 < P <=100
        causes a version to be installed only if there is no installed version
of the   package"

However, the range appears to be 0 < P <= 99.

Depending in the point of view, this might be considered a bug of the man page
or of the executable itself. It might be worth verifiying the other priority
ranges in the man page as well.


If of interes, attached are my configuration files. The problem appeared on my
system as follows:

Debian wheezy is my standard distro (set in apt.conf) but I am using other
sources, including sid and ubuntu (for firefox). Priority between these sources
is maintained by Pinning rules in the preferences file.

A priority of 100 for "Pin: release o=Ubuntu" results in aptitude trying to
install _some_ (very few) ubuntu packages over debian packages (even of the
same upstream version).
One example for this behaviour is the defoma package.

Decreasing the priority to 99 fixes this behaviour.



-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "amd64";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "true";
APT::Install-Suggests "0";
APT::Authentication "";
APT::Authentication::TrustCDROM "true";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^firmware-linux.*";
APT::NeverAutoRemove:: "^linux-firmware$";
APT::NeverAutoRemove:: "^linux-image.*";
APT::NeverAutoRemove:: "^kfreebsd-image.*";
APT::NeverAutoRemove:: "^linux-restricted-modules.*";
APT::NeverAutoRemove:: "^linux-ubuntu-modules-.*";
APT::NeverAutoRemove:: "^gnumach$";
APT::NeverAutoRemove:: "^gnumach-image.*";
APT::Never-MarkAuto-Sections "";
APT::Never-MarkAuto-Sections:: "metapackages";
APT::Never-MarkAuto-Sections:: "restricted/metapackages";
APT::Never-MarkAuto-Sections:: "universe/metapackages";
APT::Never-MarkAuto-Sections:: "multiverse/metapackages";
APT::Never-MarkAuto-Sections:: "oldlibs";
APT::Never-MarkAuto-Sections:: "restricted/oldlibs";
APT::Never-MarkAuto-Sections:: "universe/oldlibs";
APT::Never-MarkAuto-Sections:: "multiverse/oldlibs";
APT::Periodic "";
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Download-Upgradeable-Packages "0";
APT::Periodic::AutocleanInterval "0";
APT::Update "";
APT::Update::Post-Invoke "";
APT::Update::Post-Invoke:: "touch /var/lib/apt/periodic/update-success-stamp 2>/dev/null || true";
APT::Update::Post-Invoke-Success "";
APT::Update::Post-Invoke-Success:: "[ ! -f /var/run/dbus/system_bus_socket ] || /usr/bin/dbus-send --system --dest=org.debian.apt --type=signal /org/debian/apt org.debian.apt.CacheChanged || true";
APT::Archives "";
APT::Archives::MaxAge "30";
APT::Archives::MinAge "2";
APT::Archives::MaxSize "500";
APT::Default-Release "wheezy";
APT::Architectures "";
APT::Architectures:: "amd64";
APT::Compressor "";
APT::Compressor::. "";
APT::Compressor::.::Name ".";
APT::Compressor::.::Extension "";
APT::Compressor::.::Binary "";
APT::Compressor::.::Cost "1";
APT::Compressor::gzip "";
APT::Compressor::gzip::Name "gzip";
APT::Compressor::gzip::Extension ".gz";
APT::Compressor::gzip::Binary "gzip";
APT::Compressor::gzip::Cost "2";
APT::Compressor::gzip::CompressArg "";
APT::Compressor::gzip::CompressArg:: "-9n";
APT::Compressor::gzip::UncompressArg "";
APT::Compressor::gzip::UncompressArg:: "-d";
APT::Compressor::bzip2 "";
APT::Compressor::bzip2::Name "bzip2";
APT::Compressor::bzip2::Extension ".bz2";
APT::Compressor::bzip2::Binary "bzip2";
APT::Compressor::bzip2::Cost "3";
APT::Compressor::bzip2::CompressArg "";
APT::Compressor::bzip2::CompressArg:: "-9";
APT::Compressor::bzip2::UncompressArg "";
APT::Compressor::bzip2::UncompressArg:: "-d";
APT::Compressor::xz "";
APT::Compressor::xz::Name "xz";
APT::Compressor::xz::Extension ".xz";
APT::Compressor::xz::Binary "xz";
APT::Compressor::xz::Cost "4";
APT::Compressor::xz::CompressArg "";
APT::Compressor::xz::CompressArg:: "-6";
APT::Compressor::xz::UncompressArg "";
APT::Compressor::xz::UncompressArg:: "-d";
APT::Compressor::lzma "";
APT::Compressor::lzma::Name "lzma";
APT::Compressor::lzma::Extension ".lzma";
APT::Compressor::lzma::Binary "xz";
APT::Compressor::lzma::Cost "5";
APT::Compressor::lzma::CompressArg "";
APT::Compressor::lzma::CompressArg:: "--format=lzma";
APT::Compressor::lzma::CompressArg:: "-9";
APT::Compressor::lzma::UncompressArg "";
APT::Compressor::lzma::UncompressArg:: "--format=lzma";
APT::Compressor::lzma::UncompressArg:: "-d";
APT::Compressor::::Name "";
APT::Compressor::::Extension ".";
APT::Compressor::::Binary "";
APT::Compressor::::Cost "100";
APT::Compressor::::CompressArg "";
APT::Compressor::::CompressArg:: "-9";
APT::Compressor::::UncompressArg "";
APT::Compressor::::UncompressArg:: "-d";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::mirrors "mirrors/";
Dir::State::extended_states "extended_states";
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::sourceparts "sources.list.d";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::netrc "auth.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Etc::preferencesparts "preferences.d";
Dir::Etc::trusted "trusted.gpg";
Dir::Etc::trustedparts "trusted.gpg.d";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::solvers "";
Dir::Bin::solvers:: "/usr/lib/apt/solvers";
Dir::Bin::dpkg "/usr/bin/dpkg";
Dir::Bin::bzip2 "/bin/bzip2";
Dir::Bin::xz "/usr/bin/xz";
Dir::Media "";
Dir::Media::MountPath "/media/apt";
Dir::Log "var/log/apt";
Dir::Log::Terminal "term.log";
Dir::Log::History "history.log";
Dir::Ignore-Files-Silently "";
Dir::Ignore-Files-Silently:: "~$";
Dir::Ignore-Files-Silently:: "\.disabled$";
Dir::Ignore-Files-Silently:: "\.bak$";
Dir::Ignore-Files-Silently:: "\.dpkg-[a-z]+$";
Dir::Ignore-Files-Silently:: "\.save$";
Dir::Ignore-Files-Silently:: "\.orig$";
Acquire "";
Acquire::cdrom "";
Acquire::cdrom::mount "/media/cdrom/";
Acquire::Languages "";
Acquire::Languages:: "en";
Acquire::Languages:: "none";
Acquire::Languages:: "de";
Acquire::Languages:: "de_DE";
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";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -d /var/lib/update-notifier ]; then touch /var/lib/update-notifier/dpkg-run-stamp; fi; if [ -e /var/lib/update-notifier/updates-available ]; then echo > /var/lib/update-notifier/updates-available; fi ";
Unattended-Upgrade "";
Unattended-Upgrade::Origins-Pattern "";
Unattended-Upgrade::Origins-Pattern:: "origin=Debian,archive=stable,label=Debian-Security";
CommandLine "";
CommandLine::AsString "apt-config dump";

-- /etc/apt/preferences --

#Explanation: see http://www.argon.org/~roderick/apt-pinning.html
# Also: man apt_preferences

# Wheezy (testing)
Package: *
Pin: release o=Debian,n=wheezy
Pin-Priority: 900

# Squeeze (stable)
Package: *
Pin: release o=Debian,n=squeeze
Pin-Priority: 400


# Sid (unstable)
Package: *
Pin: release o=Debian,n=sid
Pin-Priority: 300

Package: *
Pin: release o="Unofficial Multimedia Packages",n=wheezy
Pin-Priority: 850

Package: *
Pin: release o="Unofficial Multimedia Packages",n=sqeeze
Pin-Priority: 350

Package: *
Pin: release o="Unofficial Multimedia Packages",n=sid
Pin-Priority: 250


#Package: *
#Pin: origin www.debian-multimedia.org
#Pin-Priority: 600

# Ubuntu
# 0 < P <100:  causes a version to be installed only if there is no installed version of the package
Package: *
Pin: release o=Ubuntu
Pin-Priority: 99

Package: *
Pin: release o=Debian
Pin-Priority: -1

-- /etc/apt/sources.list --

# 
# deb cdrom:[Debian GNU/Linux testing _Squeeze_ - Official Snapshot amd64 CD Binary-1 20091012-08:11]/ squeeze main

# SQUEEZE (stable)
deb http://ftp.de.debian.org/debian squeeze main contrib non-free 
deb http://security.debian.org/ squeeze/updates main contrib non-free
deb http://www.deb-multimedia.org squeeze main non-free 
#deb http://debian-unofficial.org/debian sqeeze main contrib non-free restricted

# Wheezy (testing)
deb http://ftp.de.debian.org/debian wheezy main contrib non-free 
deb http://www.deb-multimedia.org wheezy main non-free

# Sid (unstable)
deb http://ftp.de.debian.org/debian sid main contrib non-free 



# Ubuntu 11 Natty (for Firefox)
deb http://archive.ubuntu.com/ubuntu natty main
deb http://security.ubuntu.com/ubuntu natty-security main

# Virtualbox
deb http://download.virtualbox.org/virtualbox/debian squeeze contrib non-free

# PlayOnLinux (wheezy does not exist)
deb http://deb.playonlinux.com/ squeeze main

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (400, 'stable'), (300, 'unstable'), (99, 'natty-security'), (99, 'natty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38.8-nibbler-v100 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt depends on:
ii  debian-archive-keyring  2012.4
ii  gnupg                   1.4.12-4+b1
ii  libapt-pkg4.12          0.9.7.2
ii  libc6                   2.13-35
ii  libgcc1                 1:4.7.1-2
ii  libstdc++6              4.7.1-2

apt recommends no packages.

Versions of packages apt suggests:
pn  apt-doc     <none>
ii  aptitude    0.6.8-1
ii  dpkg-dev    1.16.8
ii  python-apt  0.8.4
ii  synaptic    0.75.12
ii  xz-utils    5.1.1alpha+20120614-1

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 0.9.7.5

We believe that the bug you reported is fixed in the latest version of
apt, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 685989@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Vogt <mvo@debian.org> (supplier of updated apt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 11 Sep 2012 15:56:44 +0200
Source: apt
Binary: apt libapt-pkg4.12 libapt-inst1.5 apt-doc libapt-pkg-dev libapt-pkg-doc apt-utils apt-transport-https
Architecture: source all amd64
Version: 0.9.7.5
Distribution: unstable
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Michael Vogt <mvo@debian.org>
Description: 
 apt        - commandline package manager
 apt-doc    - documentation for APT
 apt-transport-https - https download transport for APT
 apt-utils  - package managment related utility programs
 libapt-inst1.5 - deb package format runtime library
 libapt-pkg-dev - development files for APT's libapt-pkg and libapt-inst
 libapt-pkg-doc - documentation for APT development
 libapt-pkg4.12 - package managment runtime library
Closes: 670900 678227 684435 685192 685989 686346 686975
Changes: 
 apt (0.9.7.5) unstable; urgency=low
 .
   [ Manpages translation updates ]
   * Japanese (KURASAWA Nozomu) (Closes: #684435)
   * Portuguese (Américo Monteiro) (Closes: #686975)
 .
   [ David Kalnischkies ]
   * handle packages without a mandatory architecture (debian-policy §5.3)
     by introducing a pseudo-architecture 'none' so that the small group of
     users with these packages can get right of them without introducing too
     much hassle for other users (Closes: #686346)
   * apt-pkg/cdrom.cc:
     - copy only configured translation files from a CD-ROM and not all
       available translation files preventing new installs with d-i from
       being initialized with all translations (Closes: #678227)
     - handle Components in the reduction for the source.list as multi-arch CDs
       otherwise create duplicated source entries (e.g. "wheezy main main")
   * apt-pkg/packagemanager.cc:
     - unpack versions only in case a different version from the package
       is currently in unpack state to recover from broken system states
       (like different file in M-A:same package and other dpkg errors)
       and avoid re-unpack otherwise (Closes: #670900)
   * debian/control:
     - let libapt-pkg break apt < 0.9.4 to ensure that the installed http-
       method supports the new redirection-style, thanks to Raphael Geissert
       for reporting & testing (Closes: #685192)
   * doc/apt_preferences.5.xml:
     - use the correct interval (x <= P < y) for pin value documentation as
       these are the intervals used by the code (Closes: #685989)
   * apt-pkg/indexcopy.cc:
     - do not create duplicated flat-archive CD-ROM sources for foreign
       architectures on multi-arch CD-ROMs
     - do not warn about files which have a record in the Release file, but
       are not present on the CD to mirror the behavior of the other methods
       and to allow uncompressed indexes to be dropped without scaring users
   * apt-pkg/pkgcachegen.cc:
     - do not create 'native' (or now 'none') package structures as a side
       effect of description translation parsing as it pollutes the cache
Checksums-Sha1: 
 7e666c8c7e7c7ab27c858d54a19485232229ac98 1689 apt_0.9.7.5.dsc
 f87aebbc6b9c413821bc5f19c91c87224f016357 3387864 apt_0.9.7.5.tar.gz
 6e54a50f3f23ca461e2525df41a856f98beab286 260874 apt-doc_0.9.7.5_all.deb
 f13303f91b27168ae497e1de8ec2af407a104a43 960408 libapt-pkg-doc_0.9.7.5_all.deb
 d74697ed798b7e089bf40a3e05fd80532590ae33 882860 libapt-pkg4.12_0.9.7.5_amd64.deb
 1afa928bbd988ce3a910bc6ecd93c27fb673d84d 164498 libapt-inst1.5_0.9.7.5_amd64.deb
 73f443563ef51198d12678c0611d9af678a1a8f7 1234400 apt_0.9.7.5_amd64.deb
 f35d3c5999a8fbe336b98ff7bb439a8f45b54c51 185406 libapt-pkg-dev_0.9.7.5_amd64.deb
 195ed4819d3fddf1f3cf7b9770d47ab4e8c4b592 373924 apt-utils_0.9.7.5_amd64.deb
 e4fbf830b93d5cd83b1202005b544de2b3741c08 107078 apt-transport-https_0.9.7.5_amd64.deb
Checksums-Sha256: 
 0c04c31d986810d2b52de501a45fad989b0ec55d8a96f73544d89126c58de45e 1689 apt_0.9.7.5.dsc
 82ff902cc33dab89e875c5827f625a64b4b872c34f1a16a8f04e07a7a1c30ced 3387864 apt_0.9.7.5.tar.gz
 ca64252135bae07fa54a534488e8a234f282113b1353ddfc0e39072834ee7c5a 260874 apt-doc_0.9.7.5_all.deb
 6dbe1b97ad10fe96a90f58d7a378346545ca58f6c2629331c802aae53ba490b6 960408 libapt-pkg-doc_0.9.7.5_all.deb
 913b5a7f26ed9de17f4e4257189f2136f2d00af783da80654a1b7f57e514beb6 882860 libapt-pkg4.12_0.9.7.5_amd64.deb
 cb40f8f8788e71b034de387c78c61e0be9b2b09cacfe8c7b995394f4b2c5cf06 164498 libapt-inst1.5_0.9.7.5_amd64.deb
 3c0d3d4b72d5de132560a26e3c86b9d8d759354e6a349b46b1b203b18b0c5563 1234400 apt_0.9.7.5_amd64.deb
 11ca12b5f43266108df9845bf5040f71d0ddddccd9760dad7a1e4efb8e4f92da 185406 libapt-pkg-dev_0.9.7.5_amd64.deb
 78e2f8b98489dde3d297ca855c3da72e6b583b97352993de7e3c697190fa0590 373924 apt-utils_0.9.7.5_amd64.deb
 442c083c20401c30dbbfcd9f71af85451bd81dec4dc847885ef222dede4cbf54 107078 apt-transport-https_0.9.7.5_amd64.deb
Files: 
 83737a282f81be3d24be43a60ef5aa11 1689 admin important apt_0.9.7.5.dsc
 51bed58178d73c21e240cb4e137afa93 3387864 admin important apt_0.9.7.5.tar.gz
 2ef4da2a1cece4afc1688c5d3b9e3aeb 260874 doc optional apt-doc_0.9.7.5_all.deb
 a983ad6026b1fd187988a21220298740 960408 doc optional libapt-pkg-doc_0.9.7.5_all.deb
 aa21106040013490cfe64f26020e0340 882860 libs important libapt-pkg4.12_0.9.7.5_amd64.deb
 6851100d5db7997c2f4e58b179908a15 164498 libs important libapt-inst1.5_0.9.7.5_amd64.deb
 073cfd3f4781fe1978ca00ea6853e78f 1234400 admin important apt_0.9.7.5_amd64.deb
 acaaa33ff73372b684ffa75e652c1cec 185406 libdevel optional libapt-pkg-dev_0.9.7.5_amd64.deb
 7da608a838d4a58ce26c62498c2d70c2 373924 admin important apt-utils_0.9.7.5_amd64.deb
 06997202bccda2f2cb72fb162b17b03a 107078 admin optional apt-transport-https_0.9.7.5_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlBPV4AACgkQliSD4VZixzTcvwCePyBv2X3kGh0Ba/ATKszd2zxr
/H4AoIK/zrO+im4bX7XaRgX/KqvAMmh4
=Oqfs
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: