2016-08-06 30 views
0

我还没有通过阅读其他线程EMACS E:子过程的/ usr /斌/ dpkg的返回一个错误码(1)

我从这里安装了Emacs找到了解决Ubuntu的(16) - >易于://emacs,然后 我用purge命令卸载它,并在找到剩余的带有“locate emacs”的文件来删除它。我做错了什么,现在发现很多错误,我无法解决。

sudo易于得到升级:

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易于得到的dist-升级

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) 

如果我试图从Ubuntu的重新安装 - >贴切:// 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 

从Ubuntu软件我仍然安装了GNU“Emacs24终端”,但由于某些原因我无法删除它。

回答

-1

我处于类似的位置。我发现sudo locate -e emacs | xargs rm -r伎俩

相关问题