2017-04-12 19 views
0

지금은 몇 시간 동안 여러 페이지를보고 있지만이 문제를 해결하는 데는 여전히 운이 없다. OpenOffice를 설치 한 다음 앱 센터를 통해 LibreOffice-Draw를 설치하려고했지만 문제가 발생했습니다 (파일이 설치되지 않고 끊어짐). 내가 터미널로 가서 아무것도 apt-get를 사용하려고 시도하는 후 이러한 오류가 만났다 :초등 OS - LibreOffice/OpenOffice 충돌, Dpkg 오류 (unmet dependencies) - 루프에 걸려있다.

You might want to run 'apt-get -f install' to correct these: 
The following packages have unmet dependencies. 
libreoffice-core : Depends: libreoffice-common (> 1:5.1.6~rc2) but it is not going to be installed 
libreoffice-style-galaxy : Depends: libreoffice-common (= 1:5.1.6~rc2-0ubuntu1~xenial1) but it is not going to be installed 
libreoffice-style-human : Depends: libreoffice-common (= 1:5.1.6~rc2-0ubuntu1~xenial1) but it is not going to be installed 
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). 

그 실행과에 libreoffice-common 결과를 설치하려고 :

Preparing to unpack .../libreoffice-common_1%3a5.1.6~rc2-0ubuntu1~xenial1_all.deb ... 
Unpacking libreoffice-common (1:5.1.6~rc2-0ubuntu1~xenial1) ... 
dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a5.1.6~rc2-0ubuntu1~xenial1_all.deb (--unpack): 
trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.1.3-9783 
rmdir: failed to remove '/var/lib/libreoffice/share/prereg/': No such file or directory 
rmdir: failed to remove '/var/lib/libreoffice/share/': No such file or directory 
rmdir: failed to remove '/var/lib/libreoffice/program/': No such file or directory 
rmdir: failed to remove '/var/lib/libreoffice': No such file or directory 
rmdir: failed to remove '/var/lib/libreoffice': No such file or directory 
Processing triggers for man-db (2.7.5-1) ... 
Processing triggers for shared-mime-info (1.5-2ubuntu0.1) ... 
Unknown media type in type 'all/all' 
Unknown media type in type 'all/allfiles' 
Processing triggers for desktop-file-utils (0.22-1ubuntu5.1+elementary2~ubuntu0.4.1) ... 
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ... 
Rebuilding /usr/share/applications/bamf-2.index... 
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ... 
Processing triggers for mime-support (3.59ubuntu1) ... 
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ... 
Processing triggers for gnome-icon-theme (3.12.0-1ubuntu3) ... 
Errors were encountered while processing: 
/var/cache/apt/archives/libreoffice-common_1%3a5.1.6~rc2-0ubuntu1~xenial1_all.deb 
E: Sub-process /usr/bin/dpkg returned an error code (1) 
``` 

오픈 오피스를 제거하려고 -

Reading package lists... Done 
Building dependency tree  
Reading state information... Done 
Note, selecting 'openoffice.org-debian-menus' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-spellcheck-fr-fr' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-thesaurus-de-ch' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-hyphenation-en-ca' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-hyphenation-en-us' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-updatedicts' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-kde' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-common' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-spellcheck-an' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-spellcheck-ca' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-spellcheck-eo' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-spellcheck-es' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-spellcheck-eu' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-spellcheck-fo' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-spellcheck-gl' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-spellcheck-nb' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-spellcheck-nn' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-spellcheck-nr' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-spellcheck-ns' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-spellcheck-ss' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-spellcheck-st' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-spellcheck-tl' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-spellcheck-tn' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-spellcheck-uz' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-spellcheck-ve' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-spellcheck-xh' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-spellcheck-zu' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-hunspell' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-hyphenation-en' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-hyphenation-fi' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-hyphenation-ga' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-hyphenation-hr' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-hyphenation-id' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-calc' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-writer' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-hyphenation-lt' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-hyphenation-pl' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-hyphenation-ru' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-ure' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-thesaurus-de' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-thesaurus-it' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-thesaurus-pl' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-bundled' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-base' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-spellcheck-en-us' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-core' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-dev-doc' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-dmaths' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-spellcheck-de-at' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-spellcheck-de-ch' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-spellcheck-de-de' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-unbundled' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-hyphenation' for glob 'openoffice.org-*' 
Note, selecting 'openoffice.org-thesaurus-en-au' for glob 'openoffice.org-*' 
Package 'openoffice.org-thesaurus-it' is not installed, so not removed 
Note, selecting 'dictionaries-common' instead of 'openoffice.org-updatedicts' 
Package 'openoffice.org-hunspell' is not installed, so not removed 
Package 'openoffice.org-core' is not installed, so not removed 
Note, selecting 'hunspell-an' instead of 'openoffice.org-spellcheck-an' 
Note, selecting 'hunspell-ca' instead of 'openoffice.org-spellcheck-ca' 
Package 'openoffice.org-spellcheck-en-us' is not installed, so not removed 
Note, selecting 'hunspell-eu' instead of 'openoffice.org-spellcheck-eu' 
Note, selecting 'hunspell-gl-es' instead of 'openoffice.org-spellcheck-gl' 
Note, selecting 'hunspell-uz' instead of 'openoffice.org-spellcheck-uz' 
Package 'openoffice.org-writer' is not installed, so not removed 
Note, selecting 'hyphen-en-us' instead of 'openoffice.org-hyphenation-en-us' 
Note, selecting 'hyphen-en-us' instead of 'openoffice.org-hyphenation-en' 
Package 'openoffice.org-hyphenation-hr' is not installed, so not removed 
Note, selecting 'hyphen-pl' instead of 'openoffice.org-hyphenation-pl' 
Note, selecting 'hyphen-ru' instead of 'openoffice.org-hyphenation-ru' 
Package 'openoffice.org-base' is not installed, so not removed 
Package 'openoffice.org-common' is not installed, so not removed 
Package 'openoffice.org-dev-doc' is not installed, so not removed 
Note, selecting 'myspell-eo' instead of 'openoffice.org-spellcheck-eo' 
Note, selecting 'myspell-es' instead of 'openoffice.org-spellcheck-es' 
Note, selecting 'myspell-fo' instead of 'openoffice.org-spellcheck-fo' 
Note, selecting 'myspell-nb' instead of 'openoffice.org-spellcheck-nb' 
Note, selecting 'myspell-nn' instead of 'openoffice.org-spellcheck-nn' 
Note, selecting 'myspell-nr' instead of 'openoffice.org-spellcheck-nr' 
Note, selecting 'myspell-ns' instead of 'openoffice.org-spellcheck-ns' 
Note, selecting 'myspell-ss' instead of 'openoffice.org-spellcheck-ss' 
Note, selecting 'myspell-st' instead of 'openoffice.org-spellcheck-st' 
Note, selecting 'myspell-tn' instead of 'openoffice.org-spellcheck-tn' 
Note, selecting 'myspell-ve' instead of 'openoffice.org-spellcheck-ve' 
Note, selecting 'myspell-xh' instead of 'openoffice.org-spellcheck-xh' 
Note, selecting 'myspell-zu' instead of 'openoffice.org-spellcheck-zu' 
Note, selecting 'mythes-de' instead of 'openoffice.org-thesaurus-de' 
Note, selecting 'mythes-de-ch' instead of 'openoffice.org-thesaurus-de-ch' 
Note, selecting 'mythes-en-au' instead of 'openoffice.org-thesaurus-en-au' 
Note, selecting 'mythes-pl' instead of 'openoffice.org-thesaurus-pl' 
Note, selecting 'openoffice.org-hyphenation' instead of 'openoffice.org-hyphenation-en-ca' 
Note, selecting 'openoffice.org-hyphenation' instead of 'openoffice.org-hyphenation-fi' 
Note, selecting 'openoffice.org-hyphenation' instead of 'openoffice.org-hyphenation-ga' 
Note, selecting 'openoffice.org-hyphenation' instead of 'openoffice.org-hyphenation-id' 
Package 'openoffice.org-calc' is not installed, so not removed 
Package 'openoffice.org-kde' is not installed, so not removed 
Note, selecting 'myspell-fr-gut' instead of 'openoffice.org-spellcheck-fr-fr' 
Note, selecting 'myspell-tl' instead of 'openoffice.org-spellcheck-tl' 
Package 'openoffice.org-dmaths' is not installed, so not removed 
Package 'openoffice.org-bundled' is not installed, so not removed 
Package 'openoffice.org-ure' is not installed, so not removed 
Package 'openoffice.org-debian-menus' is not installed, so not removed 
Package 'openoffice.org-hyphenation' is not installed, so not removed 
Package 'openoffice.org-hyphenation-lt' is not installed, so not removed 

LibreOffice를 제거하려고하면 Libreoffice와 관련된 항목이 설치되어 있지 않다는 유사한 메시지가 표시되지만 sudo apt list --installed는 (오픈 오피스와 함께)이 다음 dpkg를 관리자가 완전히 인해 충족되지 않은 종속성으로 벽돌로되어

libreoffice-core/xenial-updates,xenial-security,now 1:5.1.6~rc2-0ubuntu1~xenial1 amd64 [installed,automatic] 
libreoffice-draw/xenial-updates,xenial-security,now 1:5.1.6~rc2-0ubuntu1~xenial1 amd64 [installed] 
libreoffice-style-galaxy/xenial-updates,xenial-updates,xenial-security,xenial-security,now 1:5.1.6~rc2-0ubuntu1~xenial1 all [installed,auto-removable] 
libreoffice-style-human/xenial-updates,xenial-updates,xenial-security,xenial-security,now 1:5.1.6~rc2-0ubuntu1~xenial1 all [installed,auto-removable] 

, 그것은 그것을 찾을 수 없습니다 나는 때문에 아무것도 설치할 수 없습니다 말한대로 난 아무것도 제거 할 수 갈등. 나는이 엉망을 일으키는 것 같다 "soffice"디렉토리를 제거하는 방법에 대해 생각했지만 그것이 얼마나 현명한 지 알지 못합니다.

저는 리눅스가 처음인데 오류 보고서를 보여주기에 충분했으면 좋겠습니다.

답변

0

좋아, 알았다. 어떤 이유로 든 sudo apt-get remove 또는 purge이 작동하지 않아 대신 - dpkg -r --force-depends $pkg을 사용하여 오류에 지정된 패키지를 하나씩 제거했습니다.

이유가 무엇인지에 대한 설명과 sudo apt-get remove 또는 purge을 사용해 주시면 배울 수 있습니다.