I would like to get the details about all the available packages in apt without installing them. I know that apt-cache search .
would give me the list and description of all the available packages. However, I'm interested in the same list but with the most recent version. Is it possible?
I also know that I can loop over the package names and run apt-cache show pkgName
, but I do not want to make multiple queries to apt-cache. I want to query it only once or use another tool or another available resource that could give me this info.
Edit: I would like the output to be something like this on each line:
package1, version
package2, version
...
And version
, is the most recent version available in apt repository.
apt-cache show .
helps? – schrodigerscatcuriosity Sep 26 '19 at 19:35packageName, most recent version
– Sida Sep 26 '19 at 19:42apt-cache policy .
might be a bit easier to parse than the one ofapt-cache show
, in case you want to script its parsing. – dadexix86 Sep 26 '19 at 19:48