]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/orderlist.cc
support Apt::Changelog::Server, code cleanup
[apt.git] / apt-pkg / orderlist.cc
index cb55147c3640da1105acc08c7479fab021377e56..602b63d3b6c5d761a92c4eb00a21f07280be1e39 100644 (file)
@@ -936,6 +936,7 @@ bool pkgOrderList::DepRemove(DepIterator D)
                            Cache[P].InstallVer != 0 &&
                            VisitNode(P) == true)
                        {
+                          Flag(P, Immediate);
                           tryFixDeps = false;
                           break;
                        }
@@ -970,6 +971,7 @@ bool pkgOrderList::DepRemove(DepIterator D)
                      IsFlag(F.TargetPkg(), InList) == false ||
                      VisitNode(F.TargetPkg()) == false)
                     continue;
+                 Flag(F.TargetPkg(), Immediate);
                  tryFixDeps = false;
                  break;
               }