Hi,

I do not know what piuparts is, but when I try to purge apmd the same happens. 
Even if I first create the directories which it is complaining about, so 
probably the purge script tries to delete them twice.


# mkdir /etc/apm/suspend.d /etc/apm/resume.d && ls -l /etc/apm && dpkg --purge 
apmd; ls -l /etc/apm
total 4
drwxr-xr-x  2 root root 1024 Mar 23 16:44 event.d
drwxr-xr-x  2 root root 1024 Mar 24 14:30 resume.d
drwxr-xr-x  2 root root 1024 Mar 23 05:38 scripts.d
drwxr-xr-x  2 root root 1024 Mar 24 14:30 suspend.d
(Reading database ... 105090 files and directories currently installed.)
Removing apmd ...
Purging configuration files for apmd ...
rmdir: `/etc/apm/suspend.d': No such file or directory
rmdir: `/etc/apm/resume.d': No such file or directory
dpkg: error processing apmd (--purge):
 subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
 apmd
total 2
drwxr-xr-x  2 root root 1024 Mar 23 16:44 event.d
drwxr-xr-x  2 root root 1024 Mar 23 05:38 scripts.d

# dpkg -l apmd
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: 
uppercase=bad)
||/ Name                          Version                       Description
+++-=============================-=============================-==========================================================================
pc  apmd                          3.2.2-5                       Utilities for 
Advanced Power Management (APM)

claudio
-- 
Claudio Nieder, Kanalweg 1, CH-8610 Uster, Tel +41 79 357 6743
yahoo messenger: claudionieder aim: claudionieder icq:42315212
mailto:[EMAIL PROTECTED]                http://www.claudio.ch

Attachment: pgptFrdjHVE5f.pgp
Description: PGP signature

Reply via email to