I want to list all the packages(installed or not installed) along with the latest version number available in the repositories.
The output of
apt-cache policy chromium-browser shows like below
$ apt-cache policy chromium-browser
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,