On Wed 09 Dec 2009, Vincent Lefevre wrote: > After fixing the prerm script, I've found that the postrm script is > also buggy: > > Removing wwwoffle ... > Purging configuration files for wwwoffle ... > find: `/etc/wwwoffle': No such file or directory > find: `/etc/wwwoffle': No such file or directory > /etc/wwwoffle directory removed, including contents > find: `/etc/wwwoffle': No such file or directory > find: `/etc/wwwoffle': No such file or directory > dpkg: error processing wwwoffle (--purge): > subprocess installed post-removal script returned error exit status 128 > Errors were encountered while processing: > wwwoffle > > Again, there's the "|| exit $?" that can make it fail: > > update-rc.d wwwoffle remove >/dev/null || exit $?
It shouldn't, the only mention in the update-rc.d manpage of aborting is if the init.d script still exists at that point. > But even though the "exit 0" is reached (I've added an "echo ..." > just before), I still get the error. That's just weird... Paul -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org