On Tue, Feb 04, 2025 at 08:12:42 -0800, Mike Castle wrote: > On Tue, Feb 4, 2025 at 4:04 AM Andrew M.A. Cater <amaca...@einval.com> wrote: > > apt list '~o' > > Where is '~o' documented? apt(1) mentions dpkg-query, but I couldn't > find it mentioned there either.
It's documented as part of "aptitude", I believe, but it's not in the aptitude(8) man page, because that would be too easy. <https://manpages.debian.org/bookworm/aptitude/aptitude.8.en.html> includes this paragraph (buried deep, searching for ~ eventually gets to it): This command accepts package names or patterns as arguments. If the string contains a tilde character (“~”) or a question mark (“?”), it will be treated as a search pattern and every package matching the pattern will be considered (see the section “Search Patterns” in the aptitude reference manual). So apparently you need to find the "aptitude reference manual". Whatever that is. I'm pretty sure it's not anywhere on a Standard installation. It's not in <https://packages.debian.org/bookworm/amd64/aptitude/filelist> as far as I can see, either. Maybe it's in <https://packages.debian.org/bookworm/amd64/aptitude-doc-en/filelist>? Who knows.