On Mon, Jan 19, 2009 at 05:42:11PM +0200, Eugene V. Lyubimkin wrote:
> Julian Andres Klode wrote:
> > 2009/1/19 Eugene V. Lyubimkin <jackyf.devel@gmail.com>:
> >> Daniel Burrows wrote:
> >>> What I'm wondering about is this: why doesn't he have a candidate
> >>> version for libjack0? He's running a testing system and has two
> >>> perfectly good available versions, including the installed version.
> >>> Shouldn't apt at least pick the installed version as the candidate?
> >> I think it definitely should. However I cannot reproduce the problem in my
> >> unstable system, so a new bug report with the attached dpkg status file would
> >> be helpful for anyone who will try to fix this problem.
> >
> > As I already wrote, you should be able to reproduce this by setting the pin to
> > a non-existing release. And it only happens when the priority is >=1000.
> ^^^^^^
> This is most useful info. Thanks for clarifying.
>
> Anyway, a bug report to BTS is encouraged to not forget about this strange
> issue. Should I write it myself or whoever other wants?
I would write something like the following:
-- START OF MAIL
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
jak@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:
jak@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
-- END OF MAIL
If this information is sufficient for the bug report, I would
submit it as a bug report.
--
Julian Andres Klode - Free Software Developer
Debian Developer - Contributing Member of SPI
Ubuntu Member - Fellow of FSFE
Website: http://jak-linux.org/ XMPP: juliank@jabber.org
Debian: http://www.debian.org/ SPI: http://www.spi-inc.org/
Ubuntu: http://www.ubuntu.com/ FSFE: http://www.fsfe.org/
Attachment:
signature.asc
Description: Digital signature