]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/algorithms.cc
* dpkg-triggers: Deal properly with new package states.
[apt.git] / apt-pkg / algorithms.cc
index b21fcbb2f9b4e9a8d51553b5877bd3b45cc90054..62727a852fd01504e7cd27820913b153449f6231 100644 (file)
@@ -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);