Package: waagent Version: 1.2-1 Severity: serious User: debian...@lists.debian.org Usertags: piuparts
Hi, during a test with piuparts I noticed your package fails to remove. >From the attached log (scroll to the bottom...): Removing waagent ... postrm called with unknown argument `remove' dpkg: error processing waagent (--purge): subprocess installed post-removal script returned error exit status 1 Errors were encountered while processing: waagent The prerm script is entirely useless, there is no "prerm purge". For the postrm use if [ "$1" = "purge" ] ; then ... fi and avoid all the remaining boilerplate code and comments. The postinst I don't really get - why are there that many rm's on configuration files? The configuration step via waagent --setup --force is not suitable for Debian systems, as it does not preserve user modifications to the configuration files it creates, which is a policy violation. Try e.g. dpkg-reconfigure waagent after editing all the configuration files. cheers, Andreas
waagent_1.2-1.log.gz
Description: GNU Zip compressed data