[pkg-kolab] A way to determine installed/available package versions?

Jeroen van Meeuwen vanmeeuwen at kolabsys.com
Tue Jun 26 13:19:30 UTC 2012


On Tuesday, June 26, 2012 02:20:57 PM Thomas Koch wrote:
> Jeroen van Meeuwen (Kolab Systems):
> > Hi there,
> > 
> > In order to update [1] to be more like [2], I'm looking to port the
> > attached script I use for the RPM/YUM based distributions into something
> > that handles APT distributions as well.
> > 
> > [1] http://wiki.kolab.org/Native_Packages:Kolab_2.4_for_Debian_Squeeze
> > [2] http://wiki.kolab.org/Native_Packages:Kolab_2.4_for_Enterprise_Linux_6
> > 
> > I was thinking of using apt-cache policy <package>, but I was wondering if
> > anybody knew of a better/easier way to query for package versions (the
> > output of apt-cache policy is a little hard to parse).
> > 
> > Kind regards,
> > 
> > Jeroen van Meeuwen
> 
> you might check
> man dpkg-query
> options --status or --showformat
> 

I'm not getting this to display what version of a piece of software is 
available in the repositories configured in the system, though.

Kind regards,

Jeroen van Meeuwen

-- 
Systems Architect, Kolab Systems AG

e: vanmeeuwen at kolabsys.com
m: +44 74 2516 3817
w: http://www.kolabsys.com

pgp: 9342 BF08
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-kolab-devel/attachments/20120626/c6ef6ae6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-kolab-devel/attachments/20120626/c6ef6ae6/attachment.pgp>


More information about the pkg-kolab-devel mailing list