diff options
author | Michael Vogt <egon@bottom> | 2007-09-10 15:59:55 +0200 |
---|---|---|
committer | Michael Vogt <egon@bottom> | 2007-09-10 15:59:55 +0200 |
commit | d4db3e0afce3492d75ab2226393f93e58b0fbfde (patch) | |
tree | b69793fe9c3f46feed2aac101035d7de57744056 /apt-pkg/algorithms.cc | |
parent | 74bc8bb9d60d202a0fffee30785f6f0feb7dc354 (diff) | |
parent | 646501c8fd4c747b8162b87ecaa8406b1509be84 (diff) |
* dpkg-triggers: Deal properly with new package states.
Diffstat (limited to 'apt-pkg/algorithms.cc')
-rw-r--r-- | apt-pkg/algorithms.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/algorithms.cc b/apt-pkg/algorithms.cc index b21fcbb2f..62727a852 100644 --- a/apt-pkg/algorithms.cc +++ b/apt-pkg/algorithms.cc @@ -257,6 +257,8 @@ bool pkgApplyStatus(pkgDepCache &Cache) re-unpacked (probably) */ case pkgCache::State::UnPacked: case pkgCache::State::HalfConfigured: + case pkgCache::State::TriggersAwaited: + case pkgCache::State::TriggersPending: if ((I->CurrentVer != 0 && I.CurrentVer().Downloadable() == true) || I.State() != pkgCache::PkgIterator::NeedsUnpack) Cache.MarkKeep(I, false, false); |