Comment 5 for bug 290621

Revision history for this message
Daniel Leidert (dleidert-deactivatedaccount) wrote :

It is really hard to add a "set -ex" to the postrm script to check this claim:

+ exec /usr/share/debconf/frontend /var/lib/dpkg/info/googleearth-4.2.postrm purge
+ which update-mime-database
+ [ -x /usr/bin/update-mime-database ]
+ update-mime-database /usr/share/mime
+ which update-mime
+ update-mime
+ [ purge = purge ]
+ [ -e /usr/share/debconf/confmodule ]
+ . /usr/share/debconf/confmodule
+ [ ! 1 ]
+ [ -z ]
+ exec
+ [ ]
+ exec
+ DEBCONF_REDIR=1
+ export DEBCONF_REDIR
+ db_purge
+ _db_cmd PURGE
+ IFS= printf %s\n PURGE
+ IFS=
 read -r _db_internal_line
+ RET=20 Unsupported command "unknown" (full line was "Unknown media type in type 'chemical/x-alchemy'") received from confmodule.
+ return 20

This is clearly *not* failing during update-mime-database!