RFE: include support for partial wildcard to pin packages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Debian) |
Fix Released
|
Unknown
|
|||
apt (Ubuntu) |
Fix Released
|
Wishlist
|
Julian Andres Klode |
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:/
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://
500 http://
100 /var/lib/
0.7.9ubuntu17 0
500 http://
So I created an /etc/apt/
{{{
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
Related branches
summary: |
- Can't pin in APT with "<(partof)packagename>*" + RFE: apt pinning supports wildcard or complete package name only |
Changed in apt (Debian): | |
status: | Unknown → New |
Changed in apt (Debian): | |
status: | New → Fix Released |
I have the same problem...