summaryrefslogtreecommitdiff
path: root/apt-pkg/algorithms.cc
diff options
context:
space:
mode:
authorIan Jackson <ian@anarres>2007-08-16 01:10:35 +0100
committerIan Jackson <ian@anarres>2007-08-16 01:10:35 +0100
commitfb7bf91ccc01c6fa16ea2eb2b714d5a1b808c1ea (patch)
tree850709c080f74b3e12fa64b7046754ab2b690e4b /apt-pkg/algorithms.cc
parent9152d475de2c65d144fc3008043244d4622e136d (diff)
dpkg-triggers: deal properly with new package states; 0.7.6ubuntu6
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);