[Bug 565364] Re: pinning a specific package does not work

Vladimir Kuklin vkuklin at mirantis.com
Tue May 7 10:03:07 UTC 2013


Hi, I'm also experiencing this bug

e.g, pinning of mysql-client to specific repo depending on release
information:

Package: mysql-client-5.5
Pin: release v=12.04,o=Ubuntu
Pin-Priority: 1002

Pins this priority to all packages including that ones that I do not
want:

mysql-client-5.5:
  Installed: (none)
  Candidate: 5.5.31-0ubuntu0.12.04.1
  Package pin: 5.5.31-0ubuntu0.12.04.1
  Version table:
     5.5.31-0ubuntu0.12.04.1 1002
        500 http://srv11-msk.msk.mirantis.net/ubuntu-repo/mirror.yandex.ru/ubuntu/ precise-security/main amd64 Packages
        500 http://srv11-msk.msk.mirantis.net/ubuntu-repo/mirror.yandex.ru/ubuntu/ precise-updates/main amd64 Packages
     5.5.28-23.7ubuntu0.12.04.2+mirantis.wsrep3 1002
       1001 http://srv11-msk.msk.mirantis.net/ubuntu-repo/precise-fuel-folsom/ precise-2.1.0.1/main amd64 Packages
     5.5.22-0ubuntu1 1002
        500 http://srv11-msk.msk.mirantis.net/ubuntu-repo/mirror.yandex.ru/ubuntu/ precise/main amd64 Packages

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/565364

Title:
  pinning a specific package does not work

Status in “apt” package in Ubuntu:
  Confirmed
Status in “apt” package in Debian:
  Fix Released

Bug description:
  Binary package hint: apt

  "Package: *" in /etc/apt/preferences works for pinning as expected.
  "Package: nano" should work, but currently does not.  This is already
  known in Debian (c.f. http://bugs.debian.org/317186).  Setting this
  ticket to confirmed.

  Specifying only part of the package name is currently unsupported.
  There is an RFE ticket in Debian to include support for this:
  http://bugs.debian.org/121132 which is tracked in LP bug 399474

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




More information about the foundations-bugs mailing list