Public bug reported:

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

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Can't pin in APT with "<(partof)packagename>*"
https://bugs.launchpad.net/bugs/399474
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to