Hmm,

I just ran into something similar:

dpkg -i some.deb
- can't configure due to missing depedencies
- postinst is not run -> the debconf templates are not registered
dpkg -r some
- postrm calls db_get but the template does not exist, so script fails
with error 10, package is not removed

so we really should test unpack-remove-purge


what is the correct solution for the maintainer script anyway?
db_get || true  <== may hide some other errors


Andreas


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to