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

Jeroen van Meeuwen (Kolab Systems) vanmeeuwen at kolabsys.com
Tue Jun 26 09:07:56 UTC 2012


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

-- 
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/3ddccfaf/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: package-versions-matrix.sh
Type: application/x-shellscript
Size: 3105 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-kolab-devel/attachments/20120626/3ddccfaf/attachment.bin>
-------------- 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/3ddccfaf/attachment.pgp>


More information about the pkg-kolab-devel mailing list