summaryrefslogtreecommitdiff
path: root/apt-pkg/algorithms.cc
diff options
context:
space:
mode:
authorMichael Vogt <egon@bottom>2007-09-10 15:59:55 +0200
committerMichael Vogt <egon@bottom>2007-09-10 15:59:55 +0200
commitd4db3e0afce3492d75ab2226393f93e58b0fbfde (patch)
treeb69793fe9c3f46feed2aac101035d7de57744056 /apt-pkg/algorithms.cc
parent74bc8bb9d60d202a0fffee30785f6f0feb7dc354 (diff)
parent646501c8fd4c747b8162b87ecaa8406b1509be84 (diff)
* dpkg-triggers: Deal properly with new package states.
Diffstat (limited to 'apt-pkg/algorithms.cc')
-rw-r--r--apt-pkg/algorithms.cc2
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);