diff options
author | Peter Karlsson <peterk@debian.org> | 2007-10-08 11:44:54 +0100 |
---|---|---|
committer | Peter Karlsson <peterk@debian.org> | 2007-10-08 11:44:54 +0100 |
commit | 21231056c2f4fb82730c0ac7e7f90456668cae38 (patch) | |
tree | 1f9ca6a27065dce5014adea7095596ec6a8cb744 /apt-pkg/pkgcache.cc | |
parent | 28b68bf4207be80d4549579f34262f1248a2e528 (diff) | |
parent | 24401c09f0a826ec0074f46dfe70efe3aaf79f25 (diff) |
Merge upstream.
Diffstat (limited to 'apt-pkg/pkgcache.cc')
-rw-r--r-- | apt-pkg/pkgcache.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apt-pkg/pkgcache.cc b/apt-pkg/pkgcache.cc index 7e3b9d78c..133899a27 100644 --- a/apt-pkg/pkgcache.cc +++ b/apt-pkg/pkgcache.cc @@ -49,7 +49,7 @@ pkgCache::Header::Header() /* Whenever the structures change the major version should be bumped, whenever the generator changes the minor version should be bumped. */ - MajorVersion = 6; + MajorVersion = 7; MinorVersion = 0; Dirty = false; @@ -274,7 +274,9 @@ pkgCache::PkgIterator::OkState pkgCache::PkgIterator::State() const return NeedsUnpack; if (Pkg->CurrentState == pkgCache::State::UnPacked || - Pkg->CurrentState == pkgCache::State::HalfConfigured) + Pkg->CurrentState == pkgCache::State::HalfConfigured || + Pkg->CurrentState == pkgCache::State::TriggersPending || + Pkg->CurrentState == pkgCache::State::TriggersAwaited) return NeedsConfigure; if (Pkg->CurrentState == pkgCache::State::HalfInstalled || |