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

Bug#512318: No candidate version if pinned to a non-existing release with priority 1000



tag 512318 fixed-upstream
thanks

On Mon, Jan 19, 2009 at 05:28:08PM +0100, Julian Andres Klode wrote:
> 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.
> 

revno: 1958
fixes bug(s): http://bugs.debian.org/512318
committer: Julian Andres Klode <jak@debian.org>
branch nick: debian-sid
timestamp: Sun 2010-03-21 17:38:43 +0100
message:
  * apt-pkg/policy.cc:
    - Always return a candidate if there is at least one version pinned > 0
      (Closes: #512318)

This commit basically adds two new variables MaxAlt and PrefAlt which
are used to calculate an alternative preference (pin > 0) in case the
standard preference is not found. The alternative is the version with
the highest pin which has been calculated while going through the list
of versions.
-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.

Attachment: pgptnhtIK8tZO.pgp
Description: PGP signature


Reply to: