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/depcache.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/depcache.cc')
-rw-r--r-- | apt-pkg/depcache.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apt-pkg/depcache.cc b/apt-pkg/depcache.cc index 507416217..814a1fb1b 100644 --- a/apt-pkg/depcache.cc +++ b/apt-pkg/depcache.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: depcache.cc,v 1.24 2001/04/25 06:17:00 jgg Exp $ +// $Id: depcache.cc,v 1.25 2001/05/27 05:36:04 jgg Exp $ /* ###################################################################### Dependency Cache - Caches Dependency information. @@ -182,6 +182,9 @@ void pkgDepCache::AddSizes(const PkgIterator &Pkg,signed long Mult) { StateCache &P = PkgState[Pkg->ID]; + if (Pkg->VersionList == 0) + return; + if (Pkg.State() == pkgCache::PkgIterator::NeedsConfigure && P.Keep() == true) return; |