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

Bug#543966: apt wants to downgrade packages with pin-priority less than 1000



On Wed, Aug 7, 2013 at 4:20 PM, Vincent Bernat <bernat@debian.org> wrote:
> I have the exact same problem and it still exists in Sid. I have tried
> to look at the source code (apt-pkg/policy.cc) but got no clue. Since

Its a typical APT bug: you look at the code for a while and see nothing
wrong; then you see it and you wonder how on earth it ever worked. ;)
(spoilers in the attached patch)


> the wildcard issue has been fixed, there seems to be no more
> workaround for this problem.

Just to get that straight: This wasn't a workaround - it just disabled the pin.
(as can be observed by the 0 as specific pin, rather than 999)
Now that wildcards work this can't be used to disable pins of course,
but commenting out or removing them entirely is just as effective…
(and defined behavior)


Best regards

David Kalnischkies

Attachment: 0001-specific-pins-below-1000-cause-downgrades.patch
Description: Binary data


Reply to: