Where to find list of packages in 22.04?

Chris Green cl at isbd.net
Tue May 3 15:55:55 UTC 2022


On Tue, May 03, 2022 at 11:50:28AM -0400, Robert Heller wrote:
> At Tue, 3 May 2022 16:28:55 +0100 "Ubuntu user technical support,? not 
> for general discussions" <ubuntu-users at lists.ubuntu.com> wrote: 
> 
> > 
> > As per subject, where can I find a list of package versions available
> > in Ubuntu 22.04?
> > 
> > That's versions of packages that can be installed in 22.04, not the
> > ones that are part of the basic distribution.
> > 
> 
> dpkg-query -l pattern|less
> 
Er, but I'm not yet running 22.04, that will surely tell me what's in
the version I'm running now.  I want to know what I *could* get if I
upgrade to 22.04.


> And:
> 
> apt update
> apt install apt-file
> sudo apt-file update
> 
> apt-file -l search <path-to-binary-or-other-file> |less
> 
> Also: you can grep through the package list(s) in /var/lib/apt/lists/.  If 
> compressed, zgrep can be used.
> 
Same applies to all these doesn't it?

-- 
Chris Green




More information about the ubuntu-users mailing list