diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:55:19 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:55:19 +0000 |
commit | a3eaf9544039a9adfef159e8185f376f19b15c68 (patch) | |
tree | c3753b4f9bf79ea651a46882740a88dbd842705b /apt-pkg | |
parent | f93d1355dd915fd5c197293ba0e62292ec15cb2d (diff) |
Fixed --no-download
Author: jgg
Date: 1999-12-09 05:22:33 GMT
Fixed --no-download
Diffstat (limited to 'apt-pkg')
-rw-r--r-- | apt-pkg/acquire.cc | 4 | ||||
-rw-r--r-- | apt-pkg/packagemanager.cc | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/apt-pkg/acquire.cc b/apt-pkg/acquire.cc index a7b28499a..a9a8b3396 100644 --- a/apt-pkg/acquire.cc +++ b/apt-pkg/acquire.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: acquire.cc,v 1.43 1999/10/27 22:34:29 jgg Exp $ +// $Id: acquire.cc,v 1.44 1999/12/09 05:22:33 jgg Exp $ /* ###################################################################### Acquire - File Acquiration @@ -105,6 +105,8 @@ void pkgAcquire::Add(Item *Itm) /* Remove an item from the acquire list. This is usually not used.. */ void pkgAcquire::Remove(Item *Itm) { + Dequeue(Itm); + for (vector<Item *>::iterator I = Items.begin(); I < Items.end(); I++) { if (*I == Itm) diff --git a/apt-pkg/packagemanager.cc b/apt-pkg/packagemanager.cc index fad40c46a..392931042 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.22 1999/10/22 05:58:54 jgg Exp $ +// $Id: packagemanager.cc,v 1.23 1999/12/09 05:22:33 jgg Exp $ /* ###################################################################### Package Manager - Abstacts the package manager @@ -547,7 +547,7 @@ pkgPackageManager::OrderResult pkgPackageManager::OrderInstall() if (List->IsMissing(Pkg) == true) { if (Debug == true) - clog << "Sequence completed at" << Pkg.Name() << endl; + clog << "Sequence completed at " << Pkg.Name() << endl; if (DoneSomething == false) { _error->Error("Internal Error, ordering was unable to handle the media swap"); |