diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:54:28 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:54:28 +0000 |
commit | bdae53f1bf6710404235bbbd071c55f4ec1a9330 (patch) | |
tree | 08a8f266a691e9f2cb0284ceab4e82a0442999b6 /apt-pkg/packagemanager.cc | |
parent | 0140895997bdb6f5c836adfd83604f77ebde1f0a (diff) |
Random fixes..
Author: jgg
Date: 1999-08-03 05:19:41 GMT
Random fixes..
Diffstat (limited to 'apt-pkg/packagemanager.cc')
-rw-r--r-- | apt-pkg/packagemanager.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/apt-pkg/packagemanager.cc b/apt-pkg/packagemanager.cc index 126caef93..68827f53c 100644 --- a/apt-pkg/packagemanager.cc +++ b/apt-pkg/packagemanager.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: packagemanager.cc,v 1.18 1999/07/10 04:58:42 jgg Exp $ +// $Id: packagemanager.cc,v 1.19 1999/08/03 05:19:41 jgg Exp $ /* ###################################################################### Package Manager - Abstacts the package manager @@ -87,7 +87,7 @@ bool pkgPackageManager::GetArchives(pkgAcquire *Owner,pkgSourceList *Sources, /* This is called to correct the installation when packages could not be downloaded. */ bool pkgPackageManager::FixMissing() -{ +{ pkgProblemResolver Resolve(Cache); List->SetFileList(FileNames); @@ -101,6 +101,10 @@ bool pkgPackageManager::FixMissing() Bad = true; Cache.MarkKeep(I); } + + // We have to empty the list otherwise it will not have the new changes + delete List; + List = 0; if (Bad == false) return true; |