From 965fce31c3354d47170960f1c2d65ff67eeb172c Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Sun, 9 Dec 2012 13:55:22 +0100 Subject: [PATCH] newer releases of dpkg-query does not have PackageSpec --- src/libimcv/os_info/os_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libimcv/os_info/os_info.c b/src/libimcv/os_info/os_info.c index f7cd525240..92f47519d4 100644 --- a/src/libimcv/os_info/os_info.c +++ b/src/libimcv/os_info/os_info.c @@ -291,7 +291,7 @@ METHOD(os_info_t, create_package_enumerator, enumerator_t*, { FILE *file; const char command[] = "dpkg-query --show --showformat=" - "'${Status}\t${PackageSpec}\t${Version}\n'"; + "'${Status}\t${Package}\t${Version}\n'"; package_enumerator_t *enumerator; /* Only Debian and Ubuntu package enumeration is currently supported */ -- 2.47.3