Here is what I have done:
michael@michael-desktop:~$ COLUMNS=150 dpkg -l xem*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=====================================================================
un xemacs-support <none> (no description available)
un xemacs21 <none> (no description available)
rc xemacs21-support 21.4.22-3.2ubuntu2 all highly customizable text editor -- architecture independent support
un xemacs21-supportel <none> (no description available)
michael@michael-desktop:~$ sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of erlang-mode:
erlang-mode depends on emacsen-common (>= 1.4.14); however:
Package emacsen-common is not installed.
dpkg: error processing erlang-mode (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
erlang-mode
Hello era.
Thanks.
now it seems to be working.
Josy
Here is what I have done: michael- desktop: ~$ COLUMNS=150 dpkg -l xem* Unknown/ Install/ Remove/ Purge/Hold Not/Inst/ Conf-files/ Unpacked/ halF-conf/ Half-inst/ trig-aWait/ Trig-pend /Reinst- required (Status,Err: uppercase=bad) ======= ======= ======= ======= ======= ======= ======= ======= ======= ===
michael@
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
un xemacs-support <none> (no description available)
un xemacs21 <none> (no description available)
rc xemacs21-support 21.4.22-3.2ubuntu2 all highly customizable text editor -- architecture independent support
un xemacs21-supportel <none> (no description available)
michael@ michael- desktop: ~$ sudo ls -alg /var/lib/ dpkg/info/ em*prerm dpkg/info/ emacs23- bin-common. prerm dpkg/info/ emacs23- common. prerm dpkg/info/ emacs23. prerm dpkg/info/ emacs24- bin-common. prerm dpkg/info/ emacs24- common. prerm dpkg/info/ emacs24. prerm dpkg/info/ emacsen- common. prerm
-rwxr-xr-x 1 root 345 Sep 22 20:09 /var/lib/
-rwxr-xr-x 1 root 221 Sep 22 20:16 /var/lib/
-rwxr-xr-x 1 root 345 Sep 22 20:09 /var/lib/
-rwxr-xr-x 1 root 341 Sep 22 20:02 /var/lib/
-rwxr-xr-x 1 root 221 Sep 22 20:02 /var/lib/
-rwxr-xr-x 1 root 345 Sep 22 20:02 /var/lib/
-rwxr-xr-x 1 root 294 Jun 29 17:02 /var/lib/
michael@ michael- desktop: ~$ sudo dpkg --remove --force- remove- reinstreq emacs23-bin-common emacs23-common emacs23 emacs24-bin-common emacs24-common emacs24 emacsen-common
michael@ michael- desktop: ~$ sudo dpkg --purge --force- remove- reinstreq emacs23-bin-common emacs23-common emacs23 emacs24-bin-common emacs24-common emacs24 emacsen-common
michael@ michael- desktop: ~$ sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of erlang-mode:
erlang-mode depends on emacsen-common (>= 1.4.14); however:
Package emacsen-common is not installed.
dpkg: error processing erlang-mode (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
erlang-mode
michael@ michael- desktop: ~$ sudo ls -alg /var/lib/ dpkg/info/ erlang* prerm dpkg/info/ erlang- base.prerm dpkg/info/ erlang- mode.prerm
-rwxr-xr-x 1 root 2930 Sep 20 15:32 /var/lib/
-rwxr-xr-x 1 root 217 Sep 20 15:45 /var/lib/
michael@ michael- desktop: ~$ sudo dpkg --remove --force- remove- reinstreq erlang-mode michael- desktop: ~$ sudo dpkg --purge --force- remove- reinstreq erlang-mode michael- desktop: ~$
(Reading database ... 334234 files and directories currently installed.)
Removing erlang-mode ...
michael@
(Reading database ... 334216 files and directories currently installed.)
Removing erlang-mode ...
Purging configuration files for erlang-mode ...
michael@
michael@ michael- desktop: ~$ sudo dpkg --configure -a michael- desktop: ~$
michael@