On Mon, Aug 28, 2006 at 02:54:15PM +0200, Søren Christensen wrote: > > 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 > I think this is a serious bug. I discussed it on #debian-devel with some Debian developers and I filed a bug against the package. Basically, you can work around this one of two ways: 1. Install the package that contains mktexlsr, purge dvipdfmx and then remove the package you just installed. 2. As root, touch /usr/bin/mktexlsr, chmod +x /usr/bin/mktexlsr, purge dvipdfmx, rm /usr/bin/mktexlsr. Hope this helps. Regards, -Roberto -- Roberto C. Sanchez http://familiasanchez.net/~roberto
Attachment:
signature.asc
Description: Digital signature