#1137024 apt: Bash completion for `apt show <pkg>` is broken

Package:
apt
Source:
apt
Description:
commandline package manager
Submitter:
Tianyu Chen
Date:
2026-06-30 03:43:02 UTC
Severity:
normal
#1137024#5
Date:
2026-05-18 18:31:57 UTC
From:
To:
Hi,

Bash completion for `apt show <pkg>` seems not working. It worked in
trixie.

	$ apt show ap<TAB> # gives no completion

apt 3.2.0 (Ubuntu 26.04) does not complete for me either.

Thanks!

Best,
Tianyu Chen

#1137024#10
Date:
2026-05-18 19:39:28 UTC
From:
To:
Works for me in Ubuntu 26.10; you may need to run apt-cache gencaches
as root manually in case the cache is out of date, as we do not generate
a cache file.

#1137024#15
Date:
2026-06-30 03:41:32 UTC
From:
To:
Somehow on my laptop /var/cache/apt/pkgcache.bin is not present. That
caused the problem.
Also, the Ubuntu 26.04 I tried on is a docker container. docker containers
have no caching.

Thus closing this.

Best Regards,
Tianyu Chen