To determine a checksum of the current rpmdatabase (changing whenever
authorMichael Matz <matz@suse.de>
Fri, 8 Feb 2008 00:06:10 +0000 (00:06 +0000)
committerMichael Matz <matz@suse.de>
Fri, 8 Feb 2008 00:06:10 +0000 (00:06 +0000)
something was installed) /var/lib/rpm/Name is as good as
/var/lib/rpm/Packages.  Only 10000 times smaller (and hence faster).
Shoves off another 33% of "zypper in -D kde4-bovo".

zypp/target/TargetImpl.cc

index 8f7f33e..e91b0a4 100644 (file)
@@ -298,7 +298,7 @@ namespace zypp
       bool build_rpm_solv = true;
       // lets see if the rpm solv cache exists
 
-      RepoStatus rpmstatus(_root + "/var/lib/rpm/Packages");
+      RepoStatus rpmstatus(_root + "/var/lib/rpm/Name");
       if ( PathInfo(rpmsolv).isExist() )
       {
         // see the status of the cache