diff options
Diffstat (limited to 'lib/libalpm')
| -rw-r--r-- | lib/libalpm/be_local.c | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/lib/libalpm/be_local.c b/lib/libalpm/be_local.c index d6a7b3c0..0b5b266f 100644 --- a/lib/libalpm/be_local.c +++ b/lib/libalpm/be_local.c @@ -459,6 +459,7 @@ static int local_db_populate(alpm_db_t *db)  			/* no database existing yet is not an error */  			db->status &= ~DB_STATUS_EXISTS;  			db->status |= DB_STATUS_MISSING; +			db->pkgcache = _alpm_pkghash_create(0);  			return 0;  		}  		RET_ERR(db->handle, ALPM_ERR_DB_OPEN, -1); | 
