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

Bug#1052086: support apt pattern ?architecture(native)



Package: apt
Version: 2.7.3
Control: affects -1 + debvm

Hi Julian and David et al,

I was already abusing the ?exact-name(...) in debvm and noticed that it
behaved subtly different than I intended. In a multiarch setup, it
matches a M-A:same package in all available architectures
simultaneously. So while "apt install libnss-resolve" would just install
it once, "apt install ?exact-name(libnss-resolve)" would install them
all. Thus began my search for remedies and I quickly figured that I'd
want to match for the native architecture here. In principle, I should
just add ?architecture(somearch) here, but debvm is now structured in a
way to not know that somearch. Instead, I'd like to have apt figure out
the right architecture here.

Julian points out that ?architecture(native) matches packages for
aptitude, but for apt it doesn't match any packages. If I were using
aptitude, ?exact-name(libnss-resolve)?architecture(native) would fix my
use case.

So here comes my kind request: Can you make ?architecture(native) match
packages?

Thanks in advance

Helmut


Reply to: