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

Bug#216688: apt/preferences: pinning package to non-automatic priority does not appear to work



Control: tag -1 pending

On Mon, Oct 20, 2003 at 03:29:38PM +0200, Yann Dirson wrote:
> Package: apt
> Version: 0.5.4
> Severity: normal
> 
> I have a sources.list pointing to woody and potato, with a
> Default-Release of "3.0*".  This is because we still need some
> packages from potato that were dropped from woody.
> 
> But I don't want those packages that were essential in potato, and are
> not essential in woody any more (ldso and update), so I try to prevent
> them from being installed using preferences, like:
> 
> | Package: ldso
> | Pin: version 1.9.11-15
> | Pin-Priority: 2
> 
> The pin is reflected in the policy output near *every* version,
> whatever that means, but the priority listed for the sources does not
> get changed:
> 
> | # apt-cache policy ldso
> | ldso:
> |   Installed: (none)
> |   Candidate: 1.9.11-15
> |   Package Pin: 1.9.11-15
> |   Version Table:
> |      1.9.11-15 2
> |         990 http://debian-mirror.alcove-fr woody/main Packages
> |      1.9.11-9 2
> |         500 http://debian-mirror.alcove-fr potato/main Packages
> 

This is fixed in git, and will likely be part of the next release
in experimental. For example,

gcc-5-powerpc-linux-gnu:
  Installiert:           (keine)
  Installationskandidat: 5.1.1-13cross1
  Paket-Pinning: 5.2.1-13cross1
  Versionstabelle:
     5.2.1-13cross1 2
        900 http://httpredir.debian.org/debian unstable/main amd64 Packages
     5.1.1-13cross1 500
        500 http://httpredir.debian.org/debian testing/main amd64 Packages

with 5.2.1-13cross1 pinned to 2.

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


Reply to: