Main menu:


Site search

My Wife’s Website

Recent Posts

Categories

Archives

August 2014
S M T W T F S
« Jun   Dec »
 12
3456789
10111213141516
17181920212223
24252627282930
31  

Links:

Meta

Debian Package Versions

I have been using Synaptic to see the versions of packages at different repositories.  I really want to do it from the command-line.  I finally googled for it and found the following article:

How to tell from what Ubuntu or Debian repository a package comes?

Here is an example:

$ apt-cache policy mono-sil
mono-sil:
  Installed: 2.10.9-6+precise1
  Candidate: 2.10.9-6+precise1
  Version table:
 *** 2.10.9-6+precise1 0
        500 http://packages.sil.org/ubuntu/ precise-experimental/main amd64 Packages
        100 /var/lib/dpkg/status
     2.10.9-4+precise1 0
        500 http://packages.sil.org/ubuntu/ precise/main amd64 Packages

$ apt-cache madison mono-sil
  mono-sil | 2.10.9-6+precise1 | http://packages.sil.org/ubuntu/ precise-experimental/main amd64 Packages
  mono-sil | 2.10.9-4+precise1 | http://packages.sil.org/ubuntu/ precise/main amd64 Packages
  mono-sil |   2.10.9-4 | http://packages.sil.org/ubuntu/ precise/main Sources
  mono-sil |   2.10.9-4 | http://packages.sil.org/ubuntu/ precise-experimental/main Sources

Write a comment