conffiles/postrm files Reply-To: Petre Mierlutiu <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Resent-From: Petre Mierlutiu <[EMAIL PROTECTED]> Resent-To: debian-bugs-dist@lists.debian.org Resent-CC: Nobuhiro Iwamatsu <[EMAIL PROTECTED]> Resent-Date: Tue, 03 May 2005 15:48:11 UTC Resent-Message-ID: <[EMAIL PROTECTED]> Resent-Sender: [EMAIL PROTECTED] X-Debian-PR-Message: report 306175 X-Debian-PR-Package: tinywm X-Debian-PR-Keywords: Received: via spool by [EMAIL PROTECTED] id=B306175.11151349135637 (code B ref 306175); Tue, 03 May 2005 15:48:11 UTC Received: (at 306175) by bugs.debian.org; 3 May 2005 15:41:53 +0000 Received: from yeti.timisoara.roedu.net [217.73.174.7] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1DSzWy-0001PT-00; Tue, 03 May 2005 08:41:52 -0700 Received: (qmail 30424 invoked by uid 1002); 3 May 2005 15:41:16 -0000 Received: from 217.73.174.5 by yeti (envelope-from <[EMAIL PROTECTED]>, uid 64020) with qmail-scanner-1.23st (spamassassin: 3.0.1. perlscan: 1.23st. Clear:RC:1(217.73.174.5):. Processed in 0.046172 secs); 03 May 2005 15:41:16 -0000 X-Antivirus-timisoara.roedu.net-Mail-From: [EMAIL PROTECTED] via yeti X-Antivirus-timisoara.roedu.net: 1.23st (Clear:RC:1(217.73.174.5):. Processed in 0.046172 secs Process 30417) Received: from unknown (HELO cielago.timisoara.roedu.net) (217.73.174.5) by 0 with SMTP; 3 May 2005 15:41:16 -0000 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Petre Mierlutiu <[EMAIL PROTECTED]> To: Debian Bug Tracking System <[EMAIL PROTECTED]> X-Mailer: reportbug 3.11 Date: Tue, 03 May 2005 18:41:16 +0300 X-Antivirus-timisoara.roedu.net-Message-ID: <[EMAIL PROTECTED]> Message-Id: <[EMAIL PROTECTED]> Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2005_01_02 X-Spam-Level:
Package: tinywm Version: 1.3-1 Followup-For: Bug #306175 -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.10-1-686 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages tinywm depends on: ii libc6 2.3.2.ds1-21 GNU C Library: Shared libraries an ii libx11-6 4.3.0.dfsg.1-12.0.1 X Window System protocol client li ii xlibs 4.3.0.dfsg.1-12 X Keyboard Extension (XKB) configu -- no debconf information Error occured during purging of the package: ----cut---- # apt-get --purge remove tinywm Reading Package Lists... Done Building Dependency Tree... Done The following packages will be REMOVED: tinywm* 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 115kB disk space will be freed. Do you want to continue? [Y/n] (Reading database ... 55730 files and directories currently installed.) Removing tinywm ... Purging configuration files for tinywm ... dpkg: error processing tinywm (--purge): subprocess post-removal script returned error exit status 1 Errors were encountered while processing: tinywm E: Sub-process /usr/bin/dpkg returned an error code (1) ----cut---- Now a dpkg -L tinywm lists: /etc/gdm /etc/gdm/Sessions /etc/gdm/Sessions/tinywm I am not a Debian developer, nor tried to be one, but I think the problem could be in conffiles/postrm files. tinywm.conffiles: /etc/gdm/Sessions/tinywm tinywm.postrm: ---cut--- .... PACKAGE="tinywm" case "$1" in purge) test -d /etc/X11/$PACKAGE && rm -rf /etc/X11/$PACKAGE ;; remove) ;; *) ;; esac ----cut---- Now, what I suspect is happening, dpkg is removing all but the conffiles content (that would be why /etc/gdm/Sessions still exists?), including /etc/X11/tinywm, which cannot be then properly purged. test command returns false, which will be the result of the script, thus the error. I am not sure of course about this, but please take a look. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]