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

Bug#644148: pinning broken when using sources.list.d



On Mon, Oct 03, 2011 at 12:33:30PM +0200, Daniel Baumann wrote:
> Package: apt
> Version: 0.8.10.3+squeeze1, 0.8.15.8
> 
> Hi,
> 
> if both /etc/apt/sources.list and /etc/apt/sources.list.d/foo.list are
> used, where the foo.list repository is pinned to e.g. 999, apt *still*
> prefers packages from sources.list.

You can't pin packages with the same version differently. One version
has one single pin. The pin of the source is completely irrelevant, it
is used only to calculate the pin-priority of the version. The order
of sources for one version is affected only by the order of the
sources.list{,d} entries.

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

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

Attachment: pgp7ekY_q0hpQ.pgp
Description: PGP signature


Reply to: