How to find the list of all available packages along with the lastest version number available in the repositories?
Posted
by
Avinash Raj
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Avinash Raj
Published on 2014-05-29T14:42:00Z
Indexed on
2014/05/29
15:56 UTC
Read the original article
Hit count: 404
command-line
|packages
I want to list all the packages(installed or not installed) along with the latest version number available in the repositories.
For example:
The output of apt-cache policy chromium-browser
shows like below
$ apt-cache policy chromium-browser
chromium-browser:
Installed: (none)
Candidate: 34.0.1847.116-0ubuntu2
Version table:
34.0.1847.116-0ubuntu2 0
500 http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ trusty/universe amd64 Packages
So the latest version of chromium-browser
package available in the repository is 34.0.1847.116-0ubuntu2
. Like that, i want to list the version number along with the package names that are available in repositories. And all i want to do this through command-line.
I want the output to be like this,
chromium-browser 34.0.1847.116-0ubuntu2
xxxxxxxxxxxxxx yyyyyyyyyyy
............ ............
© Ask Ubuntu or respective owner