Bug#145575: apt: APT::Default-Release overrides /etc/apt/preferences
Matt Zimmerman schrieb am Don, 02. Mai 2002, um 22:33:01 -0400:
> On Thu, May 02, 2002 at 05:52:45PM +0200, Sven Marnach wrote:
>
> > Package: apt
> > Version: 0.5.4
> > Severity: normal
> >
> > The APT::Default-Release configuration item overrides a default pin in
> > /etc/apt/preferences, while man page of apt-get states
> >
> > --default-release
> > This option controls the default input to the pol
> > icy engine, it creates a default pin at priority
> > 990 using the specified release string. The prefer
> > ences file may further override this setting. In
> > short, this option lets you have simple control
> > over which distribution packages will be retrieved
> > from. Some common examples might be -t '2.1*' or -t
> > unstable. Configuration Item: APT::Default-Release
>
> What is the priority of the pin in the preferences file? As you quoted, the
> pin created by APT::Default-Release is at priority 990, so your pin must
> have a higher priority in order to override it.
>
> --
> - mdz
It is possible to override the pin for a single package. For example
the following preferences file pins the package mutt with
priority 1001:
Package: mutt
Pin: release a=testing
Pin-Priority: 1001
But the following preferences file doesn't override the default pin
created by APT::Default-Release:
Package: *
Pin: release a=testing
Pin-Priority: 1001
Sven
--
To UNSUBSCRIBE, email to deity-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: