[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[solved] Re: Problems with aptitude, replacing tetex with texlive



On Mon, Aug 28, 2006 at 10:32:01AM -0400, Roberto C. Sanchez wrote:
> 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.
> 

Solution number 2 worked.

After this I removed all TeX-related program/packages, and could install
TeTex without problems. Again I removed this, and tried TeXLive, but got
the same problem again. There must be a bug in TeXLive - package. Or I
have messed more things on my system :-)

So I went through the steps in #2-solution and have now a working TeTeX
installation.

Thank you for your assistance.

/severino



Reply to: