[pkg-kolab] A way to determine installed/available package versions?
thomas at koch.ro
Tue Jun 26 12:20:57 UTC 2012
Jeroen van Meeuwen (Kolab Systems):
> Hi there,
> In order to update  to be more like , I'm looking to port the
> attached script I use for the RPM/YUM based distributions into something
> that handles APT distributions as well.
>  http://wiki.kolab.org/Native_Packages:Kolab_2.4_for_Debian_Squeeze
>  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
options --status or --showformat
Thomas Koch, http://www.koch.ro
More information about the pkg-kolab-devel