Re: How to find installed packages not in APT?
On Tue, Feb 04, 2025 at 11:04:16 -0800, Loren M. Lang wrote:
> On Tue, Feb 04, 2025 at 12:15:32PM -0500, Greg Wooledge wrote:
> > On Wed, Feb 05, 2025 at 00:00:13 +0700, Max Nikulin wrote:
> > > - apt-patterns(7)
> >
> > Why isn't this linked/referenced from apt(8) or apt-get(8) or aptitude(8)?
> > I just checked all three, and it's not on any of them.
>
> It is references in the SEE ALSO section of the apt(8) man page which is
> how I found it,
Not in Bookworm, it isn't. But you're saying it's been improved in
Trixie or something? That's good!
> Also, it is references earlier under the
> list subcommand:
>
> list
> list is somewhat similar to dpkg-query --list in
> that it can display a list of packages satisfying
> certain criteria. It supports glob(7) patterns for
> matching package names, apt-patterns(7), as well as
> options to list installed (--installed),
> upgradeable (--upgradeable) or all available (--all-versions) versions.
Hah. All the things I asked for in the message I wrote 5 minutes ago
are apparently already done in some future version of Debian.
> I am still trying to figure out where that data comes from. Maybe it
> literally is just what I asked for, matching packages from the installed
> list and without a matching entry in a current Apt repository list file?
Yes. That's all there is.
> So, then will my broadcom driver appear in the obsolete list if I
> comment out the non-free-firmware section from sources.list? I'll have
> to test that out.
You also have to run "apt update" or an equivalent.
Reply to: