summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/orderlist.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/orderlist.cc b/apt-pkg/orderlist.cc
index cb55147c3..602b63d3b 100644
--- a/apt-pkg/orderlist.cc
+++ b/apt-pkg/orderlist.cc
@@ -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;
}