Your message dated Tue, 01 Mar 2005 14:02:53 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#297498: fixed in apmd 3.2.2-3
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 1 Mar 2005 02:50:41 +0000
>From [EMAIL PROTECTED] Mon Feb 28 18:50:41 2005
Return-path: <[EMAIL PROTECTED]>
Received: from chiark.greenend.org.uk [193.201.200.170] (mail)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1D5xT6-0007Qo-00; Mon, 28 Feb 2005 18:50:40 -0800
Received: from [192.168.124.112] (helo=riva.lab.dotat.at)
        by chiark.greenend.org.uk (Debian Exim 3.35 #1) with esmtp
        (return-path [EMAIL PROTECTED])
        id 1D5xT4-0008QZ-00
        for [EMAIL PROTECTED]; Tue, 01 Mar 2005 02:50:39 +0000
Received: from cjwatson by riva.lab.dotat.at with local (Exim 3.35 #1 (Debian))
        for [EMAIL PROTECTED]
        id 1D5xT4-00084c-00; Tue, 01 Mar 2005 02:50:38 +0000
Date: Tue, 1 Mar 2005 02:50:38 +0000
From: Colin Watson <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: apmd: leaves broken symlinks behind on purge
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.28i
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: apmd
Version: 3.2.2-2
Severity: normal
Tags: patch

When I purge apmd, it leaves /etc/apm/suspend.d/99hwclock and
/etc/apm/resume.d/00hwclock around as dangling symlinks. I suggest this
patch:

diff -u apmd-3.2.2/debian/apmd.postrm apmd-3.2.2/debian/apmd.postrm
--- apmd-3.2.2/debian/apmd.postrm
+++ apmd-3.2.2/debian/apmd.postrm
@@ -6,6 +6,13 @@
 
 set -e
 
+case "$1" in
+(purge)
+    rm -f /etc/apm/suspend.d/99hwclock /etc/apm/resume.d/00hwclock
+    rmdir -p --ignore-fail-on-non-empty /etc/apm/suspend.d /etc/apm/resume.d
+    ;;
+esac
+
 #DEBHELPER#
 
 exit 0

Thanks,

-- 
Colin Watson                                       [EMAIL PROTECTED]

---------------------------------------
Received: (at 297498-close) by bugs.debian.org; 1 Mar 2005 19:08:44 +0000
>From [EMAIL PROTECTED] Tue Mar 01 11:08:44 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1D6Cjc-0006YW-00; Tue, 01 Mar 2005 11:08:44 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1D6Cdx-0002fG-00; Tue, 01 Mar 2005 14:02:53 -0500
From: Chris Hanson <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#297498: fixed in apmd 3.2.2-3
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Tue, 01 Mar 2005 14:02:53 -0500
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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 3

Source: apmd
Source-Version: 3.2.2-3

We believe that the bug you reported is fixed in the latest version of
apmd, which is due to be installed in the Debian FTP archive:

apmd_3.2.2-3.diff.gz
  to pool/main/a/apmd/apmd_3.2.2-3.diff.gz
apmd_3.2.2-3.dsc
  to pool/main/a/apmd/apmd_3.2.2-3.dsc
apmd_3.2.2-3_i386.deb
  to pool/main/a/apmd/apmd_3.2.2-3_i386.deb
libapm-dev_3.2.2-3_i386.deb
  to pool/main/a/apmd/libapm-dev_3.2.2-3_i386.deb
libapm1_3.2.2-3_i386.deb
  to pool/main/a/apmd/libapm1_3.2.2-3_i386.deb
xapm_3.2.2-3_i386.deb
  to pool/main/a/apmd/xapm_3.2.2-3_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chris Hanson <[EMAIL PROTECTED]> (supplier of updated apmd package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 1 Mar 2005 12:59:52 -0500
Source: apmd
Binary: libapm-dev libapm1 xapm apmd
Architecture: source i386
Version: 3.2.2-3
Distribution: unstable
Urgency: low
Maintainer: Chris Hanson <[EMAIL PROTECTED]>
Changed-By: Chris Hanson <[EMAIL PROTECTED]>
Description: 
 apmd       - Utilities for Advanced Power Management (APM)
 libapm-dev - Library for interacting with APM driver in kernel
 libapm1    - Library for interacting with APM driver in kernel
 xapm       - X program to monitor APM battery status
Closes: 279178 291574 297498
Changes: 
 apmd (3.2.2-3) unstable; urgency=low
 .
   * Remove hwclock symlinks from /etc/apm/.  (closes: Bug#297498)
   * New it translation.  (closes: Bug#279178)
   * New cs translation.  (closes: Bug#291574)
   * Change dependency from "xlibs-dev" to "libx11-dev".
Files: 
 f3c9bc640fdbd962c26139a3fbd13f45 620 admin optional apmd_3.2.2-3.dsc
 d495a2b9dc693eb75f6ebe56fbad9575 25732 admin optional apmd_3.2.2-3.diff.gz
 392440d10149485affa40309af54370b 57104 admin optional apmd_3.2.2-3_i386.deb
 e55955dde23172cc5c1ef3c583f9cef1 26196 x11 optional xapm_3.2.2-3_i386.deb
 c4f853fa82f531084336099661ce9784 24366 libs optional libapm1_3.2.2-3_i386.deb
 0950f8250d7ce485a70fbb59d0ffb210 24478 libdevel optional 
libapm-dev_3.2.2-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCJLeM46qC2Bs1LAERApyWAJkB1XUwjh3y8OvIZ4FgPQAZ3Ji+MQCeNvph
I73hlqWt2+SXU9J3PAUtt8k=
=gjsL
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to