[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#772273: marked as done (unblock: upgrade-system/1.7.2.1)



Your message dated Tue, 9 Dec 2014 12:44:25 +0100
with message-id <20141209114424.GD3512@ugent.be>
and subject line Re: Bug#772273: unblock: upgrade-system/1.7.2.1
has caused the Debian Bug report #772273,
regarding unblock: upgrade-system/1.7.2.1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
772273: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772273
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package upgrade-system

As reported in Bug#772271, packages that skip their DPKG triggers make DPKG leave their status as partially configured. This, in turn, prevents 'deborphan' (which this package leverages) from working and it exits with an error. The attach patch (see debdiff) traps such an error and tells the administrator how to fix it.

unblock upgrade-system/1.7.2.1

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (1001, 'testing'), (1001, 'oldstable')
Architecture: i386 (i686)

Kernel: Linux 3.16.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=fi_FI.utf8, LC_CTYPE=fi_FI.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru upgrade-system-1.7.1.1/debian/changelog upgrade-system-1.7.2.1/debian/changelog
--- upgrade-system-1.7.1.1/debian/changelog	2014-09-25 07:42:30.000000000 +0300
+++ upgrade-system-1.7.2.1/debian/changelog	2014-12-06 14:34:14.000000000 +0200
@@ -1,3 +1,13 @@
+upgrade-system (1.7.2.1) unstable; urgency=medium
+
+  * upgrade-system:
+    + Added exit code to the orphan purging loop. This has become necessary
+      because some packages skip their DPKG triggers, which then makes DPKG
+      mark those packages as partially configured, in turn making deborphan
+      exit with an error.
+
+ -- Martin-Éric Racine <martin-eric.racine@iki.fi>  Sat, 06 Dec 2014 14:33:38 +0200
+
 upgrade-system (1.7.1.1) unstable; urgency=medium
 
   * debian/control:
diff -Nru upgrade-system-1.7.1.1/upgrade-system upgrade-system-1.7.2.1/upgrade-system
--- upgrade-system-1.7.1.1/upgrade-system	2014-09-25 07:41:59.000000000 +0300
+++ upgrade-system-1.7.2.1/upgrade-system	2014-12-02 01:06:49.000000000 +0200
@@ -141,6 +141,11 @@
 do
 	DEBORPHANS_OLD=$DEBORPHANS
 	DEBORPHANS=$(deborphan $ORPHANOPTS)
+	if [ $? != 0 ]
+	then
+		echo "${RED}E: Checking failed unexpectedly. Run 'dpkg --configure --pending' as root.${RESET}"
+		exit 3
+	fi
 	##DEPENDS: deborphan (universe/optional).
 	ORPHANS=${REMOVABLE:+$REMOVABLE }$DEBORPHANS
 	REMOVABLE=""
@@ -217,7 +222,7 @@
 				if [ $? != 0 ]
 				then
 					echo "${RED}E: Some dependencies could not be installed.${RESET}"
-					exit 3
+					exit 4
 				fi
 				;;
 		esac

--- End Message ---
--- Begin Message ---
Hi,

On Tue, Dec 09, 2014 at 11:55:38AM +0200, Martin-Éric Racine wrote:
> Thanks! Uploaded.

And unblocked.

Cheers,

Ivo

--- End Message ---

Reply to: