[Pkg-virtualbox-commits] r196 - trunk/debian

winnie at alioth.debian.org winnie at alioth.debian.org
Mon Jan 28 07:44:26 UTC 2008


Author: winnie
Date: 2008-01-28 07:44:26 +0000 (Mon, 28 Jan 2008)
New Revision: 196

Modified:
   trunk/debian/changelog
   trunk/debian/virtualbox-ose.postrm
Log:
Added fix for 462885


Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2008-01-17 14:15:50 UTC (rev 195)
+++ trunk/debian/changelog	2008-01-28 07:44:26 UTC (rev 196)
@@ -6,8 +6,12 @@
   [ Michael Meskes ]
   * Added basque debconf translation, closes: #460348
 
- -- Michael Meskes <meskes at debian.org>  Tue, 15 Jan 2008 17:21:38 +0100
+  [ Patrick Winnertz ]
+  * Fix error of postrm if vboxusers is a non-system group (maybe added
+    manually before installation of virtualbox-ose). (Closes: #462885) 
 
+ -- Patrick Winnertz <winnie at debian.org>  Mon, 28 Jan 2008 08:41:56 +0100
+
 virtualbox-ose (1.5.4-dfsg-4) unstable; urgency=low
 
   [ Daniel Baumann ]

Modified: trunk/debian/virtualbox-ose.postrm
===================================================================
--- trunk/debian/virtualbox-ose.postrm	2008-01-17 14:15:50 UTC (rev 195)
+++ trunk/debian/virtualbox-ose.postrm	2008-01-28 07:44:26 UTC (rev 196)
@@ -7,7 +7,9 @@
 		# Removing vboxusers group
 		if [ -x /usr/sbin/delgroup ]
 		then
-			delgroup --quiet --system vboxusers
+			# delgroup may return error status 3 if there is a non-system group
+			# "vboxusers". The postrm should not fail in this case!
+			/usr/sbin/delgroup --quiet --system vboxusers || true
 		fi
 		;;
 




More information about the Pkg-virtualbox-commits mailing list