View available package updates in Ubuntu

Following command can be used in ubuntu

 apt-cache policy <package-name>

Example:

# apt-cache policy linux-image-generic
linux-image-generic:
  Installed: 3.11.0.12.13
  Candidate: 3.11.0.26.27
  Version table:
 3.11.0.26.27 0
    500 http://us.archive.ubuntu.com/ubuntu/ saucy-updates/main amd64 Packages
    500 http://security.ubuntu.com/ubuntu/ saucy-security/main amd64 Packages
 *** 3.11.0.12.13 0
    500 http://us.archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
    100 /var/lib/dpkg/status
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s