[Bug 672513] Re: aptitude package pinning not working

Marcus Bointon 672513 at bugs.launchpad.net
Fri Jun 10 16:05:01 UTC 2011


Yup, it's a bug. It was fixed in Debian last October and only made it
into aptitude 0.6.3-3.2 in Natty, so both Lucid and Maverick suffer from
this problem:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557580

I filed a backport request: https://bugs.launchpad.net/lucid-
backports/+bug/795602

But it would be nice if it could be fixed here.

The workaround is to stop using aptitude and use (ick) apt-get instead.

** Bug watch added: Debian Bug tracker #557580
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557580

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

Title:
  aptitude package pinning not working

Status in “aptitude” package in Ubuntu:
  New

Bug description:
  Binary package hint: aptitude

  Version: 0.4.11.11-1ubuntu10

  I just upgraded a server from 9.10 to 10.04, but then needed to roll
  back PHP to 5.2 to support some code which used functions deprecated
  in PHP 5.3.  So after manually downgrading to the "karmic" versions of
  the php5 packages on the system I put the following in
  /etc/apt/preferences to prevent them getting upgraded again:

  Package: *php5*
  Pin: version 5.2*
  Pin-Priority: 1001

  However that doesn't work - running "aptitude -syv full-upgrade" shows
  that it would try to upgrade those packages to the "lucid" versions.
  I've also tried using "Pin: release a=karmic", but that doesn't work
  either.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptitude/+bug/672513/+subscriptions




More information about the foundations-bugs mailing list