From 88081e6c52e0d35c7b25e39df4552a6e430900b4 Mon Sep 17 00:00:00 2001 From: Jay Freeman Date: Sat, 28 Jun 2008 18:41:26 +0000 Subject: APT likes to wedge dpkg, let's fix that. git-svn-id: http://svn.telesphoreo.org/trunk@337 514c082c-b64e-11dc-b46d-3d985efe055d --- data/apt/reinstreq.diff | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 data/apt/reinstreq.diff (limited to 'data') diff --git a/data/apt/reinstreq.diff b/data/apt/reinstreq.diff new file mode 100644 index 000000000..7f34536e6 --- /dev/null +++ b/data/apt/reinstreq.diff @@ -0,0 +1,21 @@ +diff -ru apt-0.6.46.4.1/apt-pkg/deb/dpkgpm.cc apt-0.6.46.4.1+iPhone/apt-pkg/deb/dpkgpm.cc +--- apt-0.6.46.4.1/apt-pkg/deb/dpkgpm.cc 2006-12-04 16:33:53.000000000 +0000 ++++ apt-0.6.46.4.1+iPhone/apt-pkg/deb/dpkgpm.cc 2008-06-22 09:41:01.000000000 +0000 +@@ -451,6 +451,8 @@ + 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 @@ + 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"; -- cgit v1.2.3