[Piuparts-commits] [piuparts] 05/06: add distupgrade exception for octave3.2-info

Holger Levsen holger at moszumanska.debian.org
Tue Jan 13 17:51:13 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch develop
in repository piuparts.

commit 6cfcaba48ad68db8a1cffac1cc19df3c31104362
Author: Andreas Beckmann <anbe at debian.org>
Date:   Tue Jan 13 17:26:54 2015 +0100

    add distupgrade exception for octave3.2-info
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>
---
 custom-scripts/scripts/pre_distupgrade_exceptions | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/custom-scripts/scripts/pre_distupgrade_exceptions b/custom-scripts/scripts/pre_distupgrade_exceptions
index 837a076..177a8e2 100755
--- a/custom-scripts/scripts/pre_distupgrade_exceptions
+++ b/custom-scripts/scripts/pre_distupgrade_exceptions
@@ -38,9 +38,19 @@ fi
 
 if [ "$PIUPARTS_DISTRIBUTION_NEXT" = "jessie" ]; then
 
+	# dpkg/jessie no longer ships install-info
+	# which causes problems while removing packages from squeeze
+	# or earlier that no longer exist in wheezy or jessie
+	# (using the install-info package from jessie is not possible
+	# due to interface incompatibilities)
+
 	case ${PIUPARTS_OBJECTS%%=*} in
+		octave3.2-info)
+			# octave3.2-info was removed after squeeze
+			log_debug
+			dpkg --remove octave3.2-info
+			;;
 		polgen-doc)
-			# install-info problems during removal if the package survives
 			# polgen-doc was removed after lenny
 			log_debug
 			dpkg --remove polgen-doc

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git



More information about the Piuparts-commits mailing list