Aptitude output:
(Reading database ... 195256 files and directories currently installed.)
Removing dvipdfmx ...
/var/lib/dpkg/info/dvipdfmx.postrm: line 6: /usr/bin/mktexlsr: No such
file or directory
dpkg: error processing dvipdfmx (--remove):
subprocess post-removal script returned error exit status 127
dpkg: error processing preview-latex-style (--remove):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct NULL not valid
Ouch! Got SIGABRT, dying..
Aborted