> I get this when trying to purge emdebian-rootfs: > > # dpkg --purge emdebian-rootfs > (Reading database ... 162904 files and directories currently installed.) > Removing emdebian-rootfs ... > Purging configuration files for emdebian-rootfs ... > ucfr: Association belongs to emdebian-rootfs, not emdebian-tools > ucfr: Aborting > dpkg: error processing emdebian-rootfs (--purge): > subprocess post-removal script returned error exit status 5 > Errors were encountered while processing: > emdebian-rootfs > > > The workaround, found by running strace on dpkg -P: > > # ucfr --purge emdebian-rootfs /etc/emsandbox.conf > > Seems like a problem in the emdebian-rootfs script somewhere...
It is indeed - sorry about that.
Index: emdebian-rootfs.postrm
===================================================================
--- emdebian-rootfs.postrm (revision 3284)
+++ emdebian-rootfs.postrm (working copy)
@@ -11,7 +11,7 @@
db_purge
# Remove the configuration files
if [ -e /usr/bin/ucf ]; then
- ucfr --purge emdebian-tools /etc/emsandbox.conf
+ ucfr --purge emdebian-rootfs /etc/emsandbox.conf
ucf --purge /etc/emsandbox.conf
fi
rm -f /etc/emsandbox.conf
Will be fixed in the next version (but not entirely sure what version
number that will be right now - it depends when dpkg (>= 1.14.17)
migrates out of experimental).
--
Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/
signature.asc
Description: This is a digitally signed message part

