From 9d06bc808c5ad28087821c3ecf725304adc81950 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Thu, 6 Sep 2007 15:38:32 +0200 Subject: * dpkg-triggers: Deal properly with new package states. --- apt-pkg/algorithms.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apt-pkg/algorithms.cc') 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); -- cgit v1.2.3-70-g09d2