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

Re: troubles with aptitude



On Sat, 17 Jun 2006 16:46:30 +0100
Magnus Therning <magnus@therning.org> 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

In the aptitude command line interface, use the "-h" option for
help.  You'll notice the -f option (Aggressively try to fix broken
packages.)  It will often work.

To completely remove a package, try the "purge" action (Remove
packages and their configuration files).

-- 
Raquel
============================================================
Watch out for the fellow who talks about putting things in order! 
Putting things in order always means getting other people under your
control.
  --Denis Diderot



Reply to: