Package: apt Version: 0.7.20 Severity: normal [Also see http://lists.debian.org/deity/2009/01/msg00194.html]
In case a package is pinned with a priority of >= 1000 to a non-existing
release, no installation candidate can be found.
Example
-------
/etc/apt/preferences:
Package: apt
Pin: release x
Pin-Priority: 1000
j...@hp:~/Desktop$ LC_ALL=C apt-cache policy apt
apt:
Installed: 0.7.21~exp1
Candidate: (none)
Package pin: (not found)
Version table:
*** 0.7.21~exp1 1000
400 http://ftp.de.debian.org experimental/main Packages
100 /var/lib/dpkg/status
0.7.20 1000
990 http://ftp.de.debian.org lenny/main Packages
500 http://ftp.de.debian.org sid/main Packages
If you use 999 it works:
j...@hp:~/Desktop$ LC_ALL=C apt-cache policy apt
apt:
Installed: 0.7.21~exp1
Candidate: 0.7.21~exp1
Package pin: (not found)
Version table:
*** 0.7.21~exp1 999
400 http://ftp.de.debian.org experimental/main Packages
100 /var/lib/dpkg/status
0.7.20 999
990 http://ftp.de.debian.org lenny/main Packages
500 http://ftp.de.debian.org sid/main Packages
-- System Information:
Debian Release: 5.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (400, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (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 2008.04.16+nmu1 GnuPG archive keys of the Debian a
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libgcc1 1:4.3.2-1.1 GCC support library
ii libstdc++6 4.3.2-1.1 The GNU Standard C++ Library v3
apt recommends no packages.
Versions of packages apt suggests:
pn apt-doc <none> (no description available)
ii aptitude 0.4.11.11-1 terminal-based package manager
ii bzip2 1.0.5-1 high-quality block-sorting file co
ii dpkg-dev 1.14.24 Debian package development tools
ii lzma 4.43-14 Compression method of 7z format in
ii python-apt 0.7.9~exp2 Python interface to libapt-pkg
ii synaptic 0.62.1 Graphical package manager
ii wajig 2.0.40 simplified Debian package manageme
-- no debconf information
--
Julian Andres Klode - Free Software Developer
Debian Developer - Contributing Member of SPI
Ubuntu Member - Fellow of FSFE
Website: http://jak-linux.org/ XMPP: [email protected]
Debian: http://www.debian.org/ SPI: http://www.spi-inc.org/
Ubuntu: http://www.ubuntu.com/ FSFE: http://www.fsfe.org/
signature.asc
Description: Digital signature

