Force apt to remove all emacs*

Posted by wishi on Ask Ubuntu See other posts from Ask Ubuntu or by wishi
Published on 2010-12-02T14:04:25Z Indexed on 2011/01/02 20:58 UTC
Read the original article Hit count: 378

Filed under:
|
|
|

Hi!

I have a bug-problem with the apt-packages of emacs:

>>Error occurred processing debian-ispell.el: File error (("Opening input file" "no such file or directory" "/usr/share/emacs23/site-lisp/dictionaries-common/debian-ispell.el"))
>>Error occurred processing ispell.el: File error (("Opening input file" "no such file or directory" "/usr/share/emacs23/site-lisp/dictionaries-common/ispell.el"))
>>Error occurred processing flyspell.el: File error (("Opening input file" "no such file or directory" "/usr/share/emacs23/site-lisp/dictionaries-common/flyspell.el"))
emacs-install: /usr/lib/emacsen-common/packages/install/dictionaries-common emacs23 failed at /usr/lib/emacsen-common/emacs-install line 28, <TSORT> line 30.
dpkg: error processing emacs23-lucid (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of emacs:
 emacs depends on emacs23 | emacs23-lucid | emacs23-nox; however:
  Package emacs23 is not installed.
  Package emacs23-lucid which provides emacs23 is not configured yet.
  Package emacs23-nox which provides emacs23 is not installed.
  Package emacs23-lucid is not configured yet.
  Package emacs23-nox is not installed.
dpkg: error processing emacs (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
         Errors were encountered while processing:
 emacs23-lucid
 emacs
E: Sub-process /usr/bin/dpkg returned an error code (1)

In fact I would be satisfied with just emacs23-nox, a couple of plugins - from apt. But I can neither --purge nor --purge reinstall, nor remove the packages. It always processes until this certain bug. I did some google-searching, found some stuff on Launchpad suggesting:

sudo apt-get install --reinstall --purge emacsen-common

But this is the same... so I hope there a way to tell app to just remove everything releated to emacs, and to start from scratch again?

Thanks, Marius

© Ask Ubuntu or respective owner

Related posts about apt-get

Related posts about bug