htdig: postrm hangs when purging (is this maintained anyway?)
Cc: debian-devel@lists.debian.org
Package: htdig
Version: 3.1.6-2
Severity: important
Is this package maintained at all? If you don't want or can't fix it's
bugs please do orphan it so that someone more dedicated takes over and and
uploads a working package. Actually htdig has never worked for me in more
than a year due to all the already reported bugs you seem to prefer
accumulating nstead of fixing. :-(
Here's the problem:
--------------- snip ----------------
[root] > apt-get --purge remove htdig
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
htdig*
0 packages upgraded, 0 newly installed, 1 to remove and 3 not upgraded.
Need to get 0B of archives. After unpacking 2798kB will be freed.
Do you want to continue? [Y/n]
Reading changelogs...(Reading database ... 74159 files and directories
currently installed.)
Removing htdig ...
Purging configuration files for htdig ...
Do you want to remove the ht://Dig databases (y/n) [n] ?y
y
y
y
y
y
y
y
dpkg: error processing htdig (--purge):
subprocess post-removal script killed by signal (Interrupt)
E: Sub-process /usr/bin/dpkg exited unexpectedly
[root] >
--------------- snip ----------------
Here's a fix for an obvious script coding error but which doesn't seem to
help in regard of the problem shown above:
--------------- snip ----------------
--- /var/lib/dpkg/info/htdig.postrm Mon Feb 25 13:25:29 2002
+++ /var/lib/dpkg/info/htdig.postrm.orig Mon Feb 25 13:25:11 2002
@@ -11,7 +11,7 @@
echo -n "Do you want to remove the ht://Dig databases (y/n) [n] ?"
read ans
- if [ "$ans" = "y" -o "$ans" = "Y" ]; then
+ if [ "$and" = "y" -o "$ans" = "Y" ]; then
rm -rf /var/spool/htdig
rm -rf /var/lib/htdig
fi
--------------- snip ----------------
Thanks, P. *8^)
-- System Information
Debian Release: 3.0
Kernel Version: Linux ranita 2.4.17 #1 Sat Dec 22 00:55:39 CET 2001 i586 unknown
Versions of the packages htdig depends on:
ii debconf 1.0.26 Debian configuration management system
ii libc6 2.2.5-3 GNU C Library: Shared libraries and Timezone
ii libdb2 2.7.7.0-3.1 The Berkeley database routines (run-time fil
ii libstdc++2.10- 2.95.4-2 The GNU stdc++ library
ii lockfile-progs 0.1.9 Programs for locking and unlocking files and
ii perl 5.6.1-7 Larry Wall's Practical Extraction and Report
ii zlib1g 1.1.3-19 compression library - runtime
Reply to: