[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#282921: apt-preferences: please consider allowing multiple package names in Package: line



Package: apt
Version: 0.5.28.6
Followup-For: Bug #282921


On that same note, how about making the Packages: line accept a regex (well,
not a real regex, just the kind of regex that dpkg -l supports)? I'd really
like to be able to pin all apache packages, presently installed or
otherwise, with:

Package: *apache*
Pin: release a=stable,c=main,o=Debian,l=Debian
Pin-Priority: 2000

If I switched from apache to apache2, I'd want this to insist on stable. If
I installed libapache-mod-php, I'd want this to insist on stable.



Reply to: