Re: apt: pin: how to debug?
jgg@debian.org (Jason Gunthorpe) wrote on 24.03.01 in <[🔎] Pine.LNX.3.96.1010324153815.4623G-100000@wakko.deltatee.com>:
> On 25 Mar 2001, Brian May wrote:
>
> > Back to the original question: I would really like to be able to
> > get a list of where a package exists, and what priority each location
> > has. eg. (made up example, has no real life value):
>
> Sounds like a fine addition to apt-cache. Patch? :>
I've looked at the source, and got forcibly reminded why I can't stand
C++. But even apart from that, doing a patch would need someone *far* more
familiar with the source than I am. policy.h is rather unobvious.
By the way, is it just me misunderstanding something, or is it a bug that
neither
apt-get -t stable source apt
nor
apt-get source apt/stable
do anything useful? (The first gives the testing version, the second finds
nothing; apt=0.3.19 does work, however.)
And I think I realized why preferences wasn't doing what I wanted it to
do.
Given: I want to mostly stay at testing, except if I explicitely install
something from unstable, I usually want to keep that at unstable (say,
debian-policy).
So, when a package I have installed does not exist in testing, but does
exist in unstable, it will automatically upgrade to the unstable version.
Hmmm.
MfG Kai
Reply to: