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

Mathieu Parent math.parent at gmail.com
Wed Jun 27 07:31:36 UTC 2012


2012/6/26 Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen at kolabsys.com>:
> 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).

Try:
aptitude versions kolabd

you can set the format with -F
(http://algebraicthunk.net/~dburrows/projects/aptitude/doc/en/ch02s04s01.html#secDisplayFormat).

Regards
-- 
Mathieu Parent



More information about the pkg-kolab-devel mailing list