[Bug 508545] Re: Aptitude ignores /etc/apt/preferences.d/*

Wesley Schwengle 508545 at bugs.launchpad.net
Fri Oct 21 20:11:35 UTC 2011


@Rolf, apt-cache is NOT aptitude. It is provided by the apt package not
by aptitude. So you see the correct pinning values with apt-cache
policy, but aptitude is not respecting it. Which is the bug :)

In other words, replace install the totem-mozilla package with :
aptitude -y -s totem-mozilla with the snippet in both locations and you
will be able to replicate the bug (my snippet, not yours, unless totem-
mozilla is also found in -proposed).

-- 
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