setting in pool
authorStefan Schubert <schubi@suse.de>
Thu, 23 Mar 2006 18:47:04 +0000 (18:47 +0000)
committerStefan Schubert <schubi@suse.de>
Thu, 23 Mar 2006 18:47:04 +0000 (18:47 +0000)
zypp/solver/detail/Resolver.cc

index 89045e8..2b5935d 100644 (file)
@@ -70,15 +70,15 @@ void assertSystemResObjectInPool()
     {
       // SystemResObject is missing in the pool ==> insert
       ResStore store;
-      store.insert( SystemResObject::instance() );
-      getZYpp()->addResolvables( store );
+      store.insert( SystemResObject::instance() ); 
+      getZYpp()->addResolvables( store, true ); // true = is installed
     }
 
-  // set transact bit
+  // set lock
   if ( ! pool.byKindBegin<SystemResObject>()
-         ->status().setTransact( true, ResStatus::USER ) )
+         ->status().setLock( true, ResStatus::USER ) )
     {
-      WAR << "Unable to set SystemResObject to transact" << endl;
+      WAR << "Unable to set SystemResObject to lock" << endl;
     }
 }