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!
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 mime-database update- mime-database ] mime-database /usr/share/mime debconf/ confmodule ] debconf/ confmodule x-alchemy' ") received from confmodule.
+ which update-
+ [ -x /usr/bin/
+ update-
+ which update-mime
+ update-mime
+ [ purge = purge ]
+ [ -e /usr/share/
+ . /usr/share/
+ [ ! 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/
+ return 20
This is clearly *not* failing during update- mime-database!