diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:58:07 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:58:07 +0000 |
commit | e7b470eefa0499d0edbdda4f466eb77b17c2067b (patch) | |
tree | 3edaecfaeb5c653fc7f23ba39e9bc3c47305e34d /apt-pkg/packagemanager.cc | |
parent | 0db4a45bf91faa06616a90865068ac6c07885edf (diff) |
More ignoring of versionless packages
Author: jgg
Date: 2001-05-27 05:36:04 GMT
More ignoring of versionless packages
Diffstat (limited to 'apt-pkg/packagemanager.cc')
-rw-r--r-- | apt-pkg/packagemanager.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apt-pkg/packagemanager.cc b/apt-pkg/packagemanager.cc index d5b8eafb4..fc5f475a1 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.27 2001/05/07 05:49:43 jgg Exp $ +// $Id: packagemanager.cc,v 1.28 2001/05/27 05:36:04 jgg Exp $ /* ###################################################################### Package Manager - Abstacts the package manager @@ -138,6 +138,10 @@ bool pkgPackageManager::CreateOrderList() // Generate the list of affected packages and sort it for (PkgIterator I = Cache.PkgBegin(); I.end() == false; I++) { + // Ignore no-version packages + if (I->VersionList == 0) + continue; + // Mark the package and its dependends for immediate configuration if (((I->Flags & pkgCache::Flag::Essential) == pkgCache::Flag::Essential || (I->Flags & pkgCache::Flag::Important) == pkgCache::Flag::Important) && |