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.