Bug#429912: apt_preferences: lacks explanation of priority 0
Control: tag -1 pending On Thu, Jun 21, 2007 at 04:25:58PM +0800, Manphiz wrote: Package: apt Version: 0.6.46.4-0.1 Severity: wishlist The man page of apt_preferences lacks the explanation when priority equals 0. Here is an excerpt: 0 P =100 causes a version to be installed only if there is no installed version of the package P 0 prevents the version from being installed As we can see, the above didn't mention what would happen when P=0. Seems at least an incompletion in documentation. According to the changelog from 0.7.0 to 0.7.2 there is no mention about this issue, so I assume this problem applies to 0.7.2 too. That's not really a bug, that's intended. Pin-Priority: 0 has undefined behavior. And we warn for it. In practice, it will probably simply disable specific pinning and force the priority of a package to be determined by the maximum of all sources it is contained in. But it's undefined behavior. -- Julian Andres Klode - Debian Developer, Ubuntu Member See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/. Be friendly, do not top-post, and follow RFC 1855 Netiquette. - If you don't I might ignore you.
Bug#429912: apt_preferences: lacks explanation of priority 0
Package: apt Version: 0.6.46.4-0.1 Severity: wishlist The man page of apt_preferences lacks the explanation when priority equals 0. Here is an excerpt: 0 P =100 causes a version to be installed only if there is no installed version of the package P 0 prevents the version from being installed As we can see, the above didn't mention what would happen when P=0. Seems at least an incompletion in documentation. According to the changelog from 0.7.0 to 0.7.2 there is no mention about this issue, so I assume this problem applies to 0.7.2 too. -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (990, 'testing'), (800, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages apt depends on: ii debian-archive-keyring 2007.02.19-0.1 GnuPG archive keys of the Debian a ii libc6 2.5-9+b1 GNU C Library: Shared libraries ii libgcc1 1:4.2-20070609-1 GCC support library ii libstdc++6 4.2-20070609-1 The GNU Standard C++ Library v3 apt recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]