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

Re: [rosea.grammostola@gmail.com: Re: [Aptitude-devel] [aptitude-gtk] errors]



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.

I can reproduce this with any package I want to using apt 0.7.21~exp1.

/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



-- 
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/


Reply to: