[Bug 399474] Re: RFE: include support for partial wildcard to pin packages

Bug Watch Updater 399474 at bugs.launchpad.net
Wed Aug 10 14:42:06 UTC 2011


** Changed in: apt (Debian)
       Status: New => Fix Released

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

Title:
  RFE: include support for partial wildcard to pin packages

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

Bug description:
  Binary package hint: apt

  Hello,
  I added this PPA to my sources.list.d to upgrade my OpenSSH version to a newer one:
  https://launchpad.net/~rainct/+archive/ppa

  I currently use Ubuntu Hardy:
  $ lsb_release -rd
  Description: Ubuntu 8.04.3 LTS
  Release:      8.04
  $ apt-cache policy apt
  apt:
    Installato: 0.7.9ubuntu17.2
    Candidato: 0.7.9ubuntu17.2
    Tabella versione:
   *** 0.7.9ubuntu17.2 0
          500 http://it.archive.ubuntu.com hardy-updates/main Packages
          500 http://it.archive.ubuntu.com hardy-security/main Packages
          100 /var/lib/dpkg/status
       0.7.9ubuntu17 0
          500 http://it.archive.ubuntu.com hardy/main Packages

  So I created an /etc/apt/preferences file with the following content:

  {{{
  Package: openssh-*
  Pin: release o=LP-PPA-rainct
  Pin-Priority: 900

  Package: ssh*
  Pin: release o=LP-PPA-rainct
  Pin-Priority: 900

  Package: *
  Pin: release o=LP-PPA-rainct
  Pin-Priority: -10
  }}}

  to pin only the OpenSSH packages and to exclude all other packages coming from the repository but it doesn't work.
  To effectively pin the packages I had to pin every single package name and I think this is not a correct behaviour because of the ability to exclude all other packages by the "*".
  Thanks for attention

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




More information about the foundations-bugs mailing list