Bug#330446: fails to purge if module utilities are not installed
Package: initrd-tools
Version: 0.1.82
Severity: serious
sh-3.00# dpkg -P --pending
(Reading database ... 8535 files and directories currently installed.)
Removing initrd-tools ...
Purging configuration files for initrd-tools ...
/var/lib/dpkg/info/initrd-tools.postrm: line 7: update-modules: command not found
dpkg: error processing initrd-tools (--purge):
subprocess post-removal script returned error exit status 127
Errors were encountered while processing:
initrd-tools
You aren't guaranteed that anything is installed in your postrm script -- so
you need to not fail if there are no module tools to update modules with.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: powerpc
Shell: /bin/sh linked to /bin/bash
Reply to: