index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aurelien Foret <aurelien@archlinux.org> | 2005-03-26 08:50:27 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2005-03-26 08:50:27 +0000 |
commit | bcfc1244b4114848be3f4cd67099318b6f99413d (patch) | |
tree | 4802534be60e533cbcb6c27aefedee22fc5cc2c4 /lib/libalpm/alpm.c | |
parent | 2e28303ee545077f4f4739426ddb6742116621b9 (diff) |
-rw-r--r-- | lib/libalpm/alpm.c | 3 |
diff --git a/lib/libalpm/alpm.c b/lib/libalpm/alpm.c index d4854a3d..41b604ad 100644 --- a/lib/libalpm/alpm.c +++ b/lib/libalpm/alpm.c @@ -241,6 +241,9 @@ int alpm_db_update(PM_DB *db, char *archive, char *ts) /* ORE stat() the archive to check it exists */ + /* Cache needs to be rebuild */ + db_free_pkgcache(db); + /* remove the old dir */ _alpm_log(PM_LOG_FLOW2, "removing %s (if it exists)\n", db->path); /* ORE |