On Sat, Jun 17, 2006 at 08:59:03AM -0700, Rodney D. Myers wrote: > On Sat, 17 Jun 2006 16:46:30 +0100 > Magnus Therning <[EMAIL PROTECTED]> wrote: > > > On Sat, Jun 17, 2006 at 16:42:34 +0200, Søren Christensen wrote: > > >I had added TeXLive for Debian for my Etch.install, all worked well, > > >until an upgrade. > > > > > >So I decided to remove TeXLive again and install Tetex, but now aptitude > > >seems to be caught in a trap. How do I get aptitude free? > > > > > >This is the output from aptitude: > > >Extracting templates from packages: 100% > > >Preconfiguring packages ... > > >(Reading database ... 156744 files and directories currently installed.) > > >Removing dvipdfmx ... > > >/var/lib/dpkg/info/dvipdfmx.postrm: line 5: /usr/sbin/update-texmf: No > > >such file or directory > > >/var/lib/dpkg/info/dvipdfmx.postrm: line 6: /usr/bin/mktexlsr: No such > > >file or directory > > >dpkg: error processing dvipdfmx (--purge): > > > subprocess post-removal script returned error exit status 127 > > > Removing preview-latex-style ... > > > /var/lib/dpkg/info/preview-latex-style.postrm: line 29: mktexlsr: > > > command not found > > > dpkg: error processing preview-latex-style (--purge): > > > subprocess post-removal script returned error exit status 127 > > > Errors were encountered while processing: > > > dvipdfmx > > > preview-latex-style > > > E: Sub-process /usr/bin/dpkg returned an error code (1) > > > A package failed to install. Trying to recover: > > > Press return to continue. > > > > > >In order to remove dvipdfmx dpkg runs update-texmf and mktexlsr -- but > > >these are no longer on the machine. How do I get these programs away or > > >how do I solve this problem? > > > > Can you re-install them? > > > > Otherwise it's often possible to apply more force through using dpkg > > directly :-) > > > > /M > > > > One thing I had to do in the past, when this has happened. create the > file (touch file.name) or create the directory, so it can remove them. >
Thanks for the inputs, but the problem is, that dpkg calls /usr/sbin/update-texmf so it can fix the tex-installation. /severino -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]