From 7ae8af6409c47dfa1c9eca9459a7157157bf1e0c Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sat, 28 Jun 2008 18:41:26 +0000 Subject: [PATCH] APT likes to wedge dpkg, let's fix that. A reinstreq.diff git-svn-id: http://svn.telesphoreo.org/trunk@337 514c082c-b64e-11dc-b46d-3d985efe055d --- apt-pkg/deb/dpkgpm.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc index b4175f7..475caeb 100644 --- a/apt-pkg/deb/dpkgpm.cc +++ b/apt-pkg/deb/dpkgpm.cc @@ -451,6 +451,8 @@ bool pkgDPkgPM::Go(int OutStatusFd) case Item::Remove: Args[n++] = "--force-depends"; Size += strlen(Args[n-1]); + Args[n++] = "--force-remove-reinstreq"; + Size += strlen(Args[n-1]); Args[n++] = "--force-remove-essential"; Size += strlen(Args[n-1]); Args[n++] = "--remove"; @@ -460,6 +462,8 @@ bool pkgDPkgPM::Go(int OutStatusFd) case Item::Purge: Args[n++] = "--force-depends"; Size += strlen(Args[n-1]); + Args[n++] = "--force-remove-reinstreq"; + Size += strlen(Args[n-1]); Args[n++] = "--force-remove-essential"; Size += strlen(Args[n-1]); Args[n++] = "--purge"; -- 2.45.2