summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libalpm/cache.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libalpm/cache.c b/lib/libalpm/cache.c
index d4e19416..e030c7d7 100644
--- a/lib/libalpm/cache.c
+++ b/lib/libalpm/cache.c
@@ -49,7 +49,8 @@ static int pkg_cmp(const void *p1, const void *p2)
int db_load_pkgcache(pmdb_t *db)
{
pmpkg_t *info;
- unsigned char infolevel = INFRQ_DEPENDS;
+ /* The group cache needs INFRQ_DESC as well */
+ unsigned char infolevel = INFRQ_DEPENDS | INFRQ_DESC;
if(db == NULL) {
return(-1);