[Bug 508545] Re: Aptitude ignores /etc/apt/preferences.d/*
Wesley Schwengle
508545 at bugs.launchpad.net
Fri Oct 21 19:06:12 UTC 2011
I can confirm the bug is fixed in Lucid. Aptitude now respects the
preferences file(s) in /etc/apt/preferences.d/.
@Rolf:
It is very easy to replicate.
Create a preferences file:
Package: totem-mozilla
Pin: version 2.30.0git20100413-0ubuntu1
Pin-Priority: 1001
Remove totem-mozilla package.
Install it, you will get BROKEN package messages (expected).
Now move the preferences file to /etc/apt/preferences.d and install totem-mozilla once again. It will now install the highest possible version which should not happen.
Install the -proposed aptitude version and rinse repeat, now you will
get in either situation (/etc/apt, /etc/apt/preferences.d) the BROKEN
package message (as expected).
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to aptitude in Ubuntu.
https://bugs.launchpad.net/bugs/508545
Title:
Aptitude ignores /etc/apt/preferences.d/*
Status in aptitude:
Fix Released
Status in “aptitude” package in Ubuntu:
Fix Released
Status in “aptitude” source package in Lucid:
Fix Committed
Bug description:
Binary package hint: aptitude
Aptitude honors pinning settings in /etc/apt/preferences, but ignores
any settings in /etc/apt/preferences.d/*.
To reproduce, add
deb http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu karmic
main
to your sources list and and entry of the form
Package: *
Pin: release o=LP-PPA-ubuntu-mozilla-daily
Pin-Priority: 101
to the preferences file and observe that aptitude will try to upgrade
firefox if the setting is in /etc/apt/preferences.d/, and (correctly)
stick with the karmic version of the setting is made in
/etc/apt/preferences.
To manage notifications about this bug go to:
https://bugs.launchpad.net/aptitude/+bug/508545/+subscriptions
More information about the foundations-bugs
mailing list