On Tue, Jan 05, 2010 at 10:22:50AM -0800, Tyler MacDonald wrote:
> Hi,
> 
>  I believe dpkg-query will do what you want, something like;
> 
>  dpkg-query --show -f '${Package}\t${Version}\n'
> 
>  Cheers,
>    Tyler
> 
There's also "apt-show-versions".  It'll tell you the version and if
it's from lenny, squeeze, etc.

-Rob

> Mathieu Malaterre <mathieu.malate...@gmail.com> wrote:
> > Hi there,
> > 
> >   I would like to compare two debian box. I am trying to figure out
> > which package version is different from one box to the other. (dpkg
> > --get-selections does not list version).
> > 
> > Thanks !
> > -- 
> > Mathieu
> > 
> > 
> > -- 
> > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
> > with a subject of "unsubscribe". Trouble? Contact 
> > listmas...@lists.debian.org
> > 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to