Package: cvsd Version: 1.0.23 Severity: normal User: debian...@lists.debian.org Usertags: piuparts
Hi, I tried the following in a chroot: # apt-get install cvsd [...] # echo 'cvsd cvsd/remove_chroot boolean true' | debconf-set-selections # DEBIAN_FRONTEND=noninteractive dpkg --purge cvsd (Reading database ... 13896 files and directories currently installed.) Removing cvsd ... invoke-rc.d: policy-rc.d denied execution of stop. Purging configuration files for cvsd ... WARNING: not deleting /var/lib/cvsd! As cvsd/remove_chroot has been set to true, the chroot should be cleaned up now. Looking at the postrm script, I think it is an error to have a condition on db_input (which may 'fail' if the question won't be presented). db_input should be allowed to fail (at least with an error code that indicated 'won't be shown', iirc that is a return value of 30) and processing should continue in that case (db_go, db_get, ...). Preseeding this question for piuparts tests should avoid having "leftover files" errors if the chroot is not removed. Andreas -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org