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

Re: troubles with aptitude

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 :-)


Magnus Therning                             (OpenPGP: 0xAB4DFBA4)
magnus@therning.org             Jabber: magnus.therning@gmail.com

Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.

Time is a great teacher, but unfortunately it kills all its pupils.
     -- Hector Louis Berlioz

Attachment: pgpdomzsAxAzt.pgp
Description: PGP signature

Reply to: