Bug 162064
authorStefan Schubert <schubi@suse.de>
Fri, 28 Apr 2006 13:28:40 +0000 (13:28 +0000)
committerStefan Schubert <schubi@suse.de>
Fri, 28 Apr 2006 13:28:40 +0000 (13:28 +0000)
zypp/zypp_detail/ZYppImpl.cc

index d90b4e6..58f0628 100644 (file)
@@ -269,7 +269,7 @@ namespace zypp
                   if ( ! select.availableEmpty() )
                     {
                       // both items ==> keep
-                      select.availableBegin()->status().setTransactValue( ResStatus::KEEP_STATE, ResStatus::USER );
+                      select.availableBegin()->status().resetTransact( ResStatus::USER );
                     }
                 }
             }
@@ -279,7 +279,7 @@ namespace zypp
               if ( ! select.installedEmpty() )
                 select.installedBegin()->status().setTransactValue( ResStatus::TRANSACT, ResStatus::USER );
               if ( ! select.availableEmpty() )
-                select.availableBegin()->status().setTransactValue( ResStatus::KEEP_STATE, ResStatus::USER );
+                select.availableBegin()->status().resetTransact( ResStatus::USER );
             }
         }
     }