[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-debian
Subject:    [devel] kdenonbeta/kdedebian/kapture/libcapture
From:       Peter Rockai <mornfall () logisys ! dyndns ! org>
Date:       2004-07-22 18:11:16
Message-ID: 20040722181116.1667516AF8 () office ! kde ! org
[Download RAW message or body]

CVS commit by mornfall: 

Run problem resolver on load if there are broken packages... (doesn't
seem to work right now tho).


  M +5 -1      pkgmanager.cpp   1.45


--- kdenonbeta/kdedebian/kapture/libcapture/pkgmanager.cpp  #1.44:1.45
@@ -179,4 +179,8 @@ bool PkgManager::loadCache ()
     m_cache -> initExtState ("./debug-libcapture.extstate");
     m_cacheOpen = true;
+    if (m_cache->BrokenCount() != 0) {
+        pkgProblemResolver fix (cache ());
+        fix . Resolve ();
+    }
     notifyRebuild ();
     notifyCacheWriteableChange ();
@@ -443,5 +447,5 @@ bool PkgManager::doCommit (CommitStatus 
         cerr << "BROKEN PACKAGES (" << m_cache->BrokenCount() << ")!" << \
endl;  // ShowBroken(c1out,Cache,false);
-        return _error->Error("Internal Error, InstallPackages was called \
with broken packages!"); +        return _error->Error("Internal Error, \
PkgManager::doCommit was called with broken packages!");  }
 


_______________________________________________
kde-debian-devel mailing list
kde-debian-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-debian-devel
_______________________________________________
kde-debian mailing list
kde-debian@kde.org
https://mail.kde.org/mailman/listinfo/kde-debian


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic