Bug#1133971: With 10+ apt_preferences(5) globs pinned, "apt show mg" is much slower than "apt-cache show mg"

"Trent W. Buck" <[email protected]> Fri, 17 Apr 2026 11:20:32 +1000
Newsgroups gmane.linux.debian.apt.devel
Message-ID <93db99ee-bd9e-4a93-b4f8-30bbdf968223__31025.3716468409$1776389005$gmane$org@gmail.com>
On 17/4/26 03:52, Julian Andres Klode wrote:

>> Is the new CLI (/bin/apt) loading apt_preferences(5) when it does not need to?
> it needs to; it shows pinning.

Fair enough.  I suspected this, but didn't work it out on my own.

Based on this &
my current understanding that
globs/regexps are slow, but
"Package: *" or "Package: exact-name" are fast,
I am OK with closing or wontfixing this ticket.