2016-08-06 12 views
0

내가 EMACS E : 하위 프로세스는/usr/빈/dpkg를 (1)

내가 여기에서 이맥스를 설치 읽는 다른 스레드에 의해 해결책을 발견하지 않은 오류 코드를 반환 우분투 (16) -> APT :// emacs, then purge 명령으로 제거한 후 나머지 파일을 찾은 다음 "emacs 위치"와 함께 파일을 삭제합니다. 나는 많은 실수를 저질렀고 지금은 해결할 수 없다.

는 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. 
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) 

을 - 거리 업그레이드

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을 내가 우분투에서 다시 설치하려고하면 -> APT : // 이맥스

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 

우분투 - 소프트웨어에서 아직 GNU "Emacs24 Terminal"이 설치되어 있지만 어떤 이유로 든 제거 할 수 없습니다.

답변

-1

나는 비슷한 위치에있었습니다. 나는 그 sudo locate -e emacs | xargs rm -r 트릭을 한 것을 발견했다