Re: Bug#115517: apt: example preferences files should be included
Jason Gunthorpe wrote:
> Well, I was hoping someone would have made a tool to entire this data by
> now..
Ah I see. I've pondered before having base-config ask something about it
and set something up, but I don't know if it's worth the bother.
> > X-Comment: This example /etc/apt/preferences file causes the system to
> > X-Comment: track testing (or whatever is specified after "a="). Packages
> > X-Comment: may be upgraded individually to their unstable versions, and
> > X-Comment: apt will then track the unstable version. See apt_preferences(5)
> > X-Comment: for details.
>
> Mm, you won't get that effect if you use -10, you have to use something
> higher than 100. Basically, to get what you describe, it is sufficient to
> put
> APT::Default-Release "testing";
>
> in apt.conf (-t command line option). To eliminate unstable from selection
> it is equally effective to remove it from the sources.list.
Hmm, I can pull packages from unstable with the described file. I'm not
100% sure they continue upgrading from unstable after that.
> The preferences file's default option is really only super-useful if you
> want to do complicated selections involving non-debian sources, that was
> why I added it.
I see..
--
see shy jo
Reply to: