laga@screwless:~/tmp$ sudo aptitude purge mythweb Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Building tag database... Done The following packages have been automatically kept back: file libapache2-mod-php5 libexif12 libhal-storage1 libhal1 libmagic1 libnspr4 libnss3 lib libpng12-dev libsmbclient linux-libc-dev linux-restricted-modules-common php5 php5-common php5-mysql The following packages have been kept back: elinks firefox hal hddtemp irssi language-pack-en libpulse0 linux-image-generic linux-restricted-modules-generic python python-minimal python2.5 python2.5-minimal vim-co vim-tiny The following packages will be REMOVED: mythweb{p} 0 packages upgraded, 0 newly installed, 1 to remove and 31 not upgraded. Need to get 0B of archives. After unpacking 0B will be used. Do you want to continue? [Y/n/?] Writing extended state information... Done (Reading database ... 58139 files and directories currently installed.) Removing mythweb ... Purging configuration files for mythweb ... * Forcing reload of web server (apache2)... dpkg: error processing mythweb (--purge): subprocess post-removal script returned error exit status 128 Errors were encountered while processing: mythweb E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: