Package: wmsun
Version: 1.03-26
Severity: important
Tags: patch
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu intrepid ubuntu-patch

Hi,

I'm forwarding this Ubuntu bug to you since I can reproduce it in
lenny too:

https://bugs.launchpad.net/ubuntu/+source/wmsun/+bug/284431

The problem is that you removed debconf in 1.03-23 but the
postrm still tries to purge the database, causing the system to hang.
The attached patch just remove the call which causes the problem.

Cheers,

Cesare
diff -u wmsun-1.03/debian/postrm wmsun-1.03/debian/postrm
--- wmsun-1.03/debian/postrm
+++ wmsun-1.03/debian/postrm
@@ -3,11 +3,6 @@
 set -e
 
 if [ "$1" = purge ]; then
-	if [ -e /usr/share/debconf/confmodule ]; then
-		. /usr/share/debconf/confmodule
-		db_purge
-		db_stop
-	fi
 	if [ -x /usr/bin/ucf ]; then
 		ucf --purge /etc/menu/wmsun
 	fi

Reply via email to