Package: atftpd
Version: 0.7.dfsg-8
Severity: serious
Tags: patch
Postrm removes the tftp directory with rm -f instead of rmdir, giving
the following error when removing the package:
Removing atftpd ...
Purging configuration files for atftpd ...
rm: cannot remove `/srv/tftp': Is a directory
dpkg: error processing atftpd (--purge):
subprocess installed post-removal script returned error exit status
This should fix it:
--- debian/atftpd.postrm.orig 2010-03-15 14:43:28.000000000 +0100
+++ debian/atftpd.postrm 2010-03-15 14:59:08.000000000 +0100
@@ -18,7 +18,7 @@
fi
if [ -d $BASEDIR ]; then
- rm -f $BASEDIR
+ rmdir --ignore-fail-on-non-empty $BASEDIR
fi
# logrotate
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages atftpd depends on:
ii debconf [debconf-2.0] 1.5.28 Debian configuration management sy
ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib
ii libpcre3 7.8-3 Perl 5 Compatible Regular Expressi
ii libwrap0 7.6.q-18 Wietse Venema's TCP wrappers libra
ii update-inetd 4.36 inetd configuration file updater
Versions of packages atftpd recommends:
ii openbsd-inetd [inet-superse 0.20080125-4 The OpenBSD Internet Superserver
Versions of packages atftpd suggests:
ii logrotate 3.7.8-4 Log rotation utility
-- debconf information:
* atftpd/port: 69
* atftpd/tftpd-timeout: 300
* atftpd/mcast_port: 1758
* atftpd/verbosity: 5 (LOG_NOTICE)
* atftpd/timeout: true
* atftpd/tsize: true
* atftpd/retry-timeout: 5
* atftpd/multicast: true
* atftpd/ttl: 1
* atftpd/use_inetd: true
* atftpd/basedir: /srv/tftp
* atftpd/mcast_addr: 239.239.239.0-255
atftpd/logfile: /var/log/atftpd.log
* atftpd/blksize: true
* atftpd/logtofile: false
* atftpd/maxthread: 100
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]