summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2007-03-13 13:38:12 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2007-03-13 13:38:12 +0100
commite6756cdefaad7818f4a3bb95e7a935bc6cf8ed2e (patch)
treeb5c27829ed82e94aa9228b26252d16e4f8e15005 /apt-pkg
parente406c1756b00ad725988c0da792330f8cf5d63f2 (diff)
* apt-pkg/packagemanager.cc:
- use ActionGroup() to protect FixMissing()
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/packagemanager.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-pkg/packagemanager.cc b/apt-pkg/packagemanager.cc
index b0dd43629..1e57d6455 100644
--- a/apt-pkg/packagemanager.cc
+++ b/apt-pkg/packagemanager.cc
@@ -95,9 +95,10 @@ bool pkgPackageManager::GetArchives(pkgAcquire *Owner,pkgSourceList *Sources,
be downloaded. */
bool pkgPackageManager::FixMissing()
{
+ pkgDepCache::ActionGroup group(Cache);
pkgProblemResolver Resolve(&Cache);
List->SetFileList(FileNames);
-
+
bool Bad = false;
for (PkgIterator I = Cache.PkgBegin(); I.end() == false; I++)
{