summaryrefslogtreecommitdiff
path: root/apt-pkg/orderlist.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2010-07-29 12:26:26 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2010-07-29 12:26:26 +0200
commit685625bd308f62a382aaf61f1621a18b9441edfd (patch)
tree4274b352fec73b2dee8aaa1671594b35aa35f512 /apt-pkg/orderlist.cc
parent966640d8fd2feac29909a22415955b3ce5779dcd (diff)
configure also the replacement before remove by adding Immediate flag
Diffstat (limited to 'apt-pkg/orderlist.cc')
-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;
}