I have not found a solution by reading other threads
我没有通过阅读其他线程找到解决方案
I installed Emacs from here Ubuntu(16) -> apt: // emacs, then I uninstalled it with the purge command, and after I found the remaining files with "locate emacs" to delete it. I have done something wrong, now finding many mistakes and I can not solve.
我从这里安装了Emacs Ubuntu(16) - > apt:// emacs,然后我用purge命令卸载它,然后我发现其余文件带有“locate emacs”来删除它。我做错了什么,现在发现了很多错误,我无法解决。
sudo apt-get upgrade:
sudo apt-get升级:
Reading package lists ... Done
dependency tree generation
Reading state information ... Done
Calculating upgrade ... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
It needs to get 0 B / 17.6 kB of archives.
After this operation, 0 B will be occupied disk space.
Continue? [Y / n] s
dpkg: error processing the emacsen-common package (--configure):
the package is in a state of critical inconsistency: it is recommended
reinstall it before groped configuration.
dpkg: dependency problems prevent configuration of dictionaries-common:
dictionaries-common depends on emacsen-common (> = 2.0.5); anyway:
The emacsen-common package is not configured yet.
dpkg: error processing the package dictionaries-common (--configure):
dependency problems - leaving unconfigured
Configuring emacs24 (24.5 + 1-6ubuntu1) ...
apport report not written because the error message indicates the presence of a previous failure.
/var/lib/dpkg/info/emacs24.postinst: 35: /var/lib/dpkg/info/emacs24.postinst: / usr / lib / emacsen-common / emacs-install: not found
dpkg: error processing the emacs24 package (--configure):
subprocess installed post-installation script returned error exit status 127
They occurred while processing errors:
emacsen-common
dictionaries-common
emacs24
E: Sub-process / usr / bin / dpkg returned an error code (1)
sudo apt-get dist-upgrade
sudo apt-get dist-upgrade
Reading package lists ... Done
dependency tree generation
Reading state information ... Done
Calculating upgrade ... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
It needs to get 0 B / 17.6 kB of archives.
After this operation, 0 B will be occupied disk space.
Continue? [Y / n] s
dpkg: error processing the emacsen-common package (--configure):
the package is in a state of critical inconsistency: it is recommended
reinstall it before groped configuration.
dpkg: dependency problems prevent configuration of dictionaries-common:
dictionaries-common depends on emacsen-common (> = 2.0.5); anyway:
The emacsen-common package is not configured yet.
dpkg: error processing the package dictionaries-common (--configure):
dependency problems - leaving unconfigured
Configuring emacs24 (24.5 + 1-6ubuntu1) ...
apport report not written because the error message indicates the presence of a previous failure.
/var/lib/dpkg/info/emacs24.postinst: 35: /var/lib/dpkg/info/emacs24.postinst: / usr / lib / emacsen-common / emacs-install: not found
dpkg: error processing the emacs24 package (--configure):
subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of emacs:
emacs depends on emacs24 | emacs24-lucid | emacs24-nox; anyway:
The package emacs24 is not configured yet.
The emacs24-lucid package is not installed.
The emacs24-nox package is not installed.
dpkg: error processing the package emacs (--configure):
dependency problems - leaving unconfigured
apport report written because it has not reached the maximum value of MaxReports
They occurred while processing errors:
emacsen-common
dictionaries-common
emacs24
emacs
E: Sub-process / usr / bin / dpkg returned an error code (1)
And if I try to reinstall it from Ubuntu -> apt: // emacs
如果我尝试从Ubuntu重新安装它 - > apt:// emacs
installArchives() failed: Selecting previously unselected package emacs.
(Reading database ...
dpkg: warning: files list file for package 'emacs24-common' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'emacs24-el' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'emacsen-common' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'emacs24-common-non-dfsg' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'emacs24-bin-common' missing; assuming package has no files currently installed
Preparing to unpack .../archives/emacs_46.1_all.deb ...
Unpacking emacs (46.1) ...
dpkg: error processing package emacsen-common (--configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: dependency problems prevent configuration of dictionaries-common:
dictionaries-common depends on emacsen-common (>= 2.0.5); however:
Package emacsen-common is not configured yet.
dpkg: error processing package dictionaries-common (--configure):
dependency problems - leaving unconfigured
Setting up emacs24 (24.5+1-6ubuntu1) ...
/var/lib/dpkg/info/emacs24.postinst: 35: /var/lib/dpkg/info/emacs24.postinst: /usr/lib/emacsen-common/emacs-install: not found
dpkg: error processing package emacs24 (--configure):
subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of emacs:
emacs depends on emacs24 | emacs24-lucid | emacs24-nox; however:
Package emacs24 is not configured yet.
Package emacs24-lucid is not installed.
Package emacs24-nox is not installed.
dpkg: error processing package emacs (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Errors were encountered while processing:
emacsen-common
dictionaries-common
emacs24
emacs
dpkg: dependency problems prevent configuration of dictionaries-common:
dictionaries-common depends on emacsen-common (>= 2.0.5); however:
Package emacsen-common is not configured yet.
dpkg: error processing package dictionaries-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of emacs:
emacs depends on emacs24 | emacs24-lucid | emacs24-nox; however:
Package emacs24 is not configured yet.
Package emacs24-lucid is not installed.
Package emacs24-nox is not installed.
dpkg: error processing package emacs (--configure):
dependency problems - leaving unconfigured
From Ubuntu-Software i still have GNU "Emacs24 Terminal" installed, but i can't remove it for some reason.
从Ubuntu-Software我仍然安装了GNU“Emacs24终端”,但由于某些原因我无法删除它。
1 个解决方案
#1
-2
I was in a similar position. I found that sudo locate -e emacs | xargs rm -r
did the trick
我处于类似的位置。我发现sudo找到-e emacs | xargs rm -r做了这个伎俩
#1
-2
I was in a similar position. I found that sudo locate -e emacs | xargs rm -r
did the trick
我处于类似的位置。我发现sudo找到-e emacs | xargs rm -r做了这个伎俩