Tentando consertar dependências quebradas (Libre Office)

3

Desinstalei o Libreoffice e instalei apenas o Openoffice Para descobrir que não gosto mais do OpenOffice. Eu desinstalei o OpenOffice hoje e tentei instalar o LibreOffice e recebi erros.

 The following packages have unmet dependencies:
 libreoffice-core : Depends: libreoffice-common (> 1:4.2.7) but it is not installed
 libreoffice-help-en-us : Depends: libreoffice-l10n-en-us
 libreoffice-java-common : Depends: libreoffice-common but it is not installed
 libreoffice-l10n-en-gb : Depends: libreoffice-common but it is not installed
 libreoffice-l10n-en-za : Depends: libreoffice-common but it is not installed
 y-ppa-manager : Depends: yad (>= 0.8.0) but it is not installed
                 Depends: python-software-properties but it is not installed

Então eu tentei fazer sudo apt-get -f install  e eu sou solicitado a instalar e digo sim, esta é a mensagem.

$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libreoffice-common
Suggested packages:
  libreoffice-style-crystal libreoffice-style-hicontrast
  libreoffice-style-oxygen libreoffice-style-sifr libreoffice-style-tango
The following NEW packages will be installed:
  libreoffice-common
0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded.
41 not fully installed or removed.
Need to get 0 B/19.9 MB of archives.
After this operation, 76.1 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 453874 files and directories currently installed.)
Preparing to unpack .../libreoffice-common_1%3a4.2.7-0ubuntu1_all.deb ...
Unpacking libreoffice-common (1:4.2.7-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a4.2.7-0ubuntu1_all.deb (--unpack):
 trying to overwrite '/usr/bin/soffice', which is also in package openoffice-debian-menus 4.1-9764
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 gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.54ubuntu1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for gnome-icon-theme (3.10.0-0ubuntu2) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Errors were encountered while processing:
 /var/cache/apt/archives/libreoffice-common_1%3a4.2.7-0ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Não consigo mais instalar nada nem atualizar meu sistema.

    
por Brandd Newman 11.11.2014 / 19:10

6 respostas

5

Eu mesmo respondi depois de fazer algumas pesquisas e aprender alguns truques novos. Eu vou fornecer a resposta no caso de alguém se deparar com um problema relacionado a essas dependências quebradas. Eu usei o gerenciador de pacotes synaptic para remover pacotes quebrados. Aqui está como eu fiz isso

Primeiro fiz o download do Gerenciador de Pacotes Synaptic Gerenciador de Pacotes Synaptic

Em seguida, movi o arquivo .deb baixado para minha pasta pessoal (para facilitar o acesso ao terminal) e, em seguida, continuei a abrir o terminal

CTRL + ALT + T

Eu tive que instalar o pacote via dpkg porque o apt-get não estava funcionando devido a dependências quebradas

sudo dpkg -i synaptic_0.81.1_amd64.deb

uma vez que esta foi concluída eu abri o synaptic executando o seguinte no terminal

sudo synaptic

Dentro do Gerenciador de Pacotes Synaptic

clique no Status Tab

e depois clique em Broken e selecione os pacotes que estão quebrados.  e Mark for Complete Removal e continue aplicando as alterações.

Eu também me certifiquei de que tudo foi completamente removido usando o seguinte no terminal

sudo apt-get autoremove

e checando duplamente os pacotes no gerenciador de pacotes synaptic

não havia mais pacotes de office libre, então continuei instalando o Libre Office através do Ubuntu Software Center

    
por Brandd Newman 12.11.2014 / 08:01
3

Se você tiver esse problema, faça isso:

sudo mkdir /usr/bin/soffice
sudo apt-get -f install -y
    
por Rahim Baxseliyev 19.01.2016 / 09:59
1

Eu recebo os seguintes erros ao tentar cada um deles, apenas copiei e colei o terminal inteiro. Eu percebi, depois que recebi os erros do primeiro, que o resto não funcionaria, mas eu os fiz de qualquer maneira para mostrar o que o terminal está dizendo.

Primeiro um sudo apt-get purge openoffice*

 brand@brand-Aspire-5349:~$ sudo apt-get purge openoffice*
    [sudo] password for brand: 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Note, selecting 'openoffice.org-hunspell' for regex 'openoffice*'
    Note, selecting 'openoffice.org-spellcheck-xh' for regex 'openoffice*'
    Note, selecting 'openoffice.org2-thesaurus' for regex 'openoffice*'
    Note, selecting 'openoffice.org-spellcheck-en-us' for regex 'openoffice*'
    Note, selecting 'libopenoffice-oodoc-perl' for regex 'openoffice*'
    Note, selecting 'openoffice.org-debian-menus' for regex 'openoffice*'
    Note, selecting 'openoffice.org-spellcheck-zu' for regex 'openoffice*'
    Note, selecting 'openoffice.org-hyphenation-en-us' for regex 'openoffice*'
    Note, selecting 'openoffice.org3-base' for regex 'openoffice*'
    Note, selecting 'openoffice.org-core' for regex 'openoffice*'
    Note, selecting 'mozilla-openoffice.org' for regex 'openoffice*'
    Note, selecting 'openoffice.org3-draw' for regex 'openoffice*'
    Note, selecting 'openoffice.org-updatedicts' for regex 'openoffice*'
    Note, selecting 'openoffice.org-ure' for regex 'openoffice*'
    Note, selecting 'openoffice-en-us-impress' for regex 'openoffice*'
    Note, selecting 'openoffice-impress' for regex 'openoffice*'
    Note, selecting 'openoffice-en-us-help' for regex 'openoffice*'
    Note, selecting 'openoffice.org-unbundled' for regex 'openoffice*'
    Note, selecting 'openoffice-core01' for regex 'openoffice*'
    Note, selecting 'openoffice-core02' for regex 'openoffice*'
    Note, selecting 'openoffice-core03' for regex 'openoffice*'
    Note, selecting 'openoffice-core04' for regex 'openoffice*'
    Note, selecting 'openoffice-core05' for regex 'openoffice*'
    Note, selecting 'openoffice-core06' for regex 'openoffice*'
    Note, selecting 'openoffice-core07' for regex 'openoffice*'
    Note, selecting 'openoffice-ure' for regex 'openoffice*'
    Note, selecting 'openoffice.org3-impress' for regex 'openoffice*'
    Note, selecting 'openoffice.org-dmaths' for regex 'openoffice*'
    Note, selecting 'openoffice.org-thesaurus-ca' for regex 'openoffice*'
    Note, selecting 'openoffice.org-writer' for regex 'openoffice*'
    Note, selecting 'openoffice.org-thesaurus-cs' for regex 'openoffice*'
    Note, selecting 'openoffice.org-thesaurus-de' for regex 'openoffice*'
    Note, selecting 'openoffice.org' for regex 'openoffice*'
    Note, selecting 'openoffice.org-thesaurus-de-ch' for regex 'openoffice*'
    Note, selecting 'openoffice-math' for regex 'openoffice*'
    Note, selecting 'openoffice.org-thesaurus-fr' for regex 'openoffice*'
    Note, selecting 'openoffice-calc' for regex 'openoffice*'
    Note, selecting 'openoffice-en-us-res' for regex 'openoffice*'
    Note, selecting 'openoffice.org-thesaurus-hu' for regex 'openoffice*'
    Note, selecting 'openoffice.org-thesaurus-en-au' for regex 'openoffice*'
    Note, selecting 'openoffice.org-thesaurus-it' for regex 'openoffice*'
    Note, selecting 'openoffice.org-spellcheck-fr-fr' for regex 'openoffice*'
    Note, selecting 'openoffice-brand-math' for regex 'openoffice*'
    Note, selecting 'openoffice-brand-calc' for regex 'openoffice*'
    Note, selecting 'openoffice.org3-dict-en' for regex 'openoffice*'
    Note, selecting 'openoffice.org3-dict-es' for regex 'openoffice*'
    Note, selecting 'openoffice-debian-menus' for regex 'openoffice*'
    Note, selecting 'openoffice.org-hyphenation-af' for regex 'openoffice*'
    Note, selecting 'openoffice.org3-dict-fr' for regex 'openoffice*'
    Note, selecting 'openoffice' for regex 'openoffice*'
    Note, selecting 'openoffice.org-thesaurus-ne' for regex 'openoffice*'
    Note, selecting 'libming-fonts-openoffice' for regex 'openoffice*'
    Note, selecting 'openoffice.org-spellcheck-de-at' for regex 'openoffice*'
    Note, selecting 'openoffice.org-hyphenation-ca' for regex 'openoffice*'
    Note, selecting 'openoffice.org-hyphenation-cs' for regex 'openoffice*'
    Note, selecting 'openoffice.org-hyphenation' for regex 'openoffice*'
    Note, selecting 'openoffice-en-us-math' for regex 'openoffice*'
    Note, selecting 'openoffice.org-hyphenation-da' for regex 'openoffice*'
    Note, selecting 'openoffice.org-hyphenation-de' for regex 'openoffice*'
    Note, selecting 'openoffice.org-thesaurus-pl' for regex 'openoffice*'
    Note, selecting 'openoffice.org-spellcheck-de-ch' for regex 'openoffice*'
    Note, selecting 'openoffice.org-spellcheck-an' for regex 'openoffice*'
    Note, selecting 'openoffice.org3-en-us' for regex 'openoffice*'
    Note, selecting 'openoffice-en-us-calc' for regex 'openoffice*'
    Note, selecting 'openoffice.org-spellcheck-de-de' for regex 'openoffice*'
    Note, selecting 'openoffice.org-hyphenation-el' for regex 'openoffice*'
    Note, selecting 'openoffice.org-bundled' for regex 'openoffice*'
    Note, selecting 'openoffice.org-hyphenation-en' for regex 'openoffice*'
    Note, selecting 'openoffice.org-hyphenation-es' for regex 'openoffice*'
    Note, selecting 'openoffice.org-spellcheck-ca' for regex 'openoffice*'
    Note, selecting 'openoffice.org-thesaurus-ro' for regex 'openoffice*'
    Note, selecting 'openoffice.org-hyphenation-fi' for regex 'openoffice*'
    Note, selecting 'openoffice.org-thesaurus-ru' for regex 'openoffice*'
    Note, selecting 'openoffice-xsltfilter' for regex 'openoffice*'
    Note, selecting 'openoffice.org-hyphenation-fr' for regex 'openoffice*'
    Note, selecting 'openoffice.org-hyphenation-ga' for regex 'openoffice*'
    Note, selecting 'openoffice.org-thesaurus-sk' for regex 'openoffice*'
    Note, selecting 'openoffice.org3-writer' for regex 'openoffice*'
    Note, selecting 'openoffice-base' for regex 'openoffice*'
    Note, selecting 'openoffice.org3' for regex 'openoffice*'
    Note, selecting 'openoffice.org-hyphenation-hr' for regex 'openoffice*'
    Note, selecting 'openoffice.org-spellcheck-eo' for regex 'openoffice*'
    Note, selecting 'openoffice.org-hyphenation-hu' for regex 'openoffice*'
    Note, selecting 'openoffice.org-dtd-officedocument1.0' for regex 'openoffice*'
    Note, selecting 'openoffice.org-spellcheck-es' for regex 'openoffice*'
    Note, selecting 'openoffice.org-spellcheck-eu' for regex 'openoffice*'
    Note, selecting 'openoffice.org-hyphenation-id' for regex 'openoffice*'
    Note, selecting 'openoffice.org-hyphenation-is' for regex 'openoffice*'
    Note, selecting 'openoffice.org-spellcheck-fo' for regex 'openoffice*'
    Note, selecting 'openoffice.org-hyphenation-it' for regex 'openoffice*'
    Note, selecting 'openoffice-javafilter' for regex 'openoffice*'
    Note, selecting 'openoffice-brand-writer' for regex 'openoffice*'
    Note, selecting 'openoffice-draw' for regex 'openoffice*'
    Note, selecting 'openoffice.org-spellcheck-gl' for regex 'openoffice*'
    Note, selecting 'openoffice-brand-base' for regex 'openoffice*'
    Note, selecting 'openoffice.org-hyphenation-lt' for regex 'openoffice*'
    Note, selecting 'openoffice.org-calc' for regex 'openoffice*'
    Note, selecting 'openoffice.org-hyphenation-nl' for regex 'openoffice*'
    Note, selecting 'openoffice-brand-draw' for regex 'openoffice*'
    Note, selecting 'openoffice-graphicfilter' for regex 'openoffice*'
    Note, selecting 'openoffice.org-hyphenation-pl' for regex 'openoffice*'
    Note, selecting 'openoffice.org3-math' for regex 'openoffice*'
    Note, selecting 'openoffice.org-hyphenation-pt' for regex 'openoffice*'
    Note, selecting 'openoffice-gnome-integration' for regex 'openoffice*'
    Note, selecting 'openoffice.org-common' for regex 'openoffice*'
    Note, selecting 'openofficeorg-desktop-integration' for regex 'openoffice*'
    Note, selecting 'openoffice.org-thesaurus-en-us' for regex 'openoffice*'
    Note, selecting 'openoffice.org-spellcheck-nb' for regex 'openoffice*'
    Note, selecting 'openoffice.org3-calc' for regex 'openoffice*'
    Note, selecting 'openoffice.org-spellcheck-nn' for regex 'openoffice*'
    Note, selecting 'openoffice.org-spellcheck-nr' for regex 'openoffice*'
    Note, selecting 'openoffice.org-spellcheck-ns' for regex 'openoffice*'
    Note, selecting 'openoffice-en-us-base' for regex 'openoffice*'
    Note, selecting 'openoffice-en-us' for regex 'openoffice*'
    Note, selecting 'openoffice.org-hyphenation-ro' for regex 'openoffice*'
    Note, selecting 'openoffice.org-hyphenation-ru' for regex 'openoffice*'
    Note, selecting 'openoffice-brand-en-us' for regex 'openoffice*'
    Note, selecting 'openoffice.org-hyphenation-sh' for regex 'openoffice*'
    Note, selecting 'openoffice.org-hyphenation-sk' for regex 'openoffice*'
    Note, selecting 'openoffice.org-hyphenation-sl' for regex 'openoffice*'
    Note, selecting 'openoffice.org-hyphenation-sr' for regex 'openoffice*'
    Note, selecting 'openoffice-ogltrans' for regex 'openoffice*'
    Note, selecting 'openoffice.org-kde' for regex 'openoffice*'
    Note, selecting 'openoffice.org-hyphenation-sv' for regex 'openoffice*'
    Note, selecting 'openoffice-en-us-draw' for regex 'openoffice*'
    Note, selecting 'openoffice.org-hyphenation-ui' for regex 'openoffice*'
    Note, selecting 'openoffice.org-hyphenation-uk' for regex 'openoffice*'
    Note, selecting 'openoffice-desktop-integration' for regex 'openoffice*'
    Note, selecting 'openoffice.org-spellcheck-ss' for regex 'openoffice*'
    Note, selecting 'openoffice.org-spellcheck-st' for regex 'openoffice*'
    Note, selecting 'openoffice.org-dev-doc' for regex 'openoffice*'
    Note, selecting 'openoffice-brand-impress' for regex 'openoffice*'
    Note, selecting 'kde-thumbnailer-openoffice' for regex 'openoffice*'
    Note, selecting 'openoffice.org-spellcheck-tl' for regex 'openoffice*'
    Note, selecting 'openoffice.org-spellcheck-tn' for regex 'openoffice*'
    Note, selecting 'openoffice-ooolinguistic' for regex 'openoffice*'
    Note, selecting 'openoffice-en-us-writer' for regex 'openoffice*'
    Note, selecting 'openoffice.org-spellcheck-uz' for regex 'openoffice*'
    Note, selecting 'openoffice.org-spellcheck-ve' for regex 'openoffice*'
    Note, selecting 'openoffice-ooofonts' for regex 'openoffice*'
    Note, selecting 'openoffice-onlineupdate' for regex 'openoffice*'
    Note, selecting 'openoffice.org-base' for regex 'openoffice*'
    Note, selecting 'openoffice-pyuno' for regex 'openoffice*'
    Note, selecting 'openoffice.org-hyphenation-zu' for regex 'openoffice*'
    Note, selecting 'openoffice-writer' for regex 'openoffice*'
    Note, selecting 'openoffice-images' for regex 'openoffice*'
    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'
    Package 'openoffice.org' is not installed, so not removed
    Package 'openoffice.org-spellcheck-en-us' is not installed, so not removed
    Note, selecting 'hunspell-eu-es' 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-af' instead of 'openoffice.org-hyphenation-af'
    Note, selecting 'hyphen-ca' instead of 'openoffice.org-hyphenation-ca'
    Note, selecting 'hyphen-de' instead of 'openoffice.org-hyphenation-de'
    Note, selecting 'hyphen-en-us' instead of 'openoffice.org-hyphenation-en-us'
    Package 'openoffice.org-hyphenation-hr' is not installed, so not removed
    Note, selecting 'hyphen-hu' instead of 'openoffice.org-hyphenation-hu'
    Note, selecting 'hyphen-it' instead of 'openoffice.org-hyphenation-it'
    Note, selecting 'hyphen-pl' instead of 'openoffice.org-hyphenation-pl'
    Note, selecting 'hyphen-ro' instead of 'openoffice.org-hyphenation-ro'
    Note, selecting 'hyphen-ru' instead of 'openoffice.org-hyphenation-ru'
    Note, selecting 'hyphen-sh' instead of 'openoffice.org-hyphenation-sh'
    Note, selecting 'hyphen-sl' instead of 'openoffice.org-hyphenation-sl'
    Note, selecting 'hyphen-sr' instead of 'openoffice.org-hyphenation-sr'
    Package 'openoffice.org-hyphenation-zu' is not installed, so not removed
    Note, selecting 'hyphen-zu' instead of 'openoffice.org-hyphenation-ui'
    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-ca' instead of 'openoffice.org-spellcheck-ca'
    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-ca' instead of 'openoffice.org-thesaurus-ca'
    Note, selecting 'mythes-cs' instead of 'openoffice.org-thesaurus-cs'
    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-en-au' instead of 'openoffice.org2-thesaurus'
    Note, selecting 'mythes-en-us' instead of 'openoffice.org-thesaurus-en-us'
    Note, selecting 'mythes-fr' instead of 'openoffice.org-thesaurus-fr'
    Note, selecting 'mythes-hu' instead of 'openoffice.org-thesaurus-hu'
    Note, selecting 'mythes-ne' instead of 'openoffice.org-thesaurus-ne'
    Note, selecting 'mythes-pl' instead of 'openoffice.org-thesaurus-pl'
    Note, selecting 'mythes-ro' instead of 'openoffice.org-thesaurus-ro'
    Note, selecting 'mythes-ru' instead of 'openoffice.org-thesaurus-ru'
    Note, selecting 'mythes-sk' instead of 'openoffice.org-thesaurus-sk'
    Note, selecting 'openoffice.org-hyphenation' instead of 'openoffice.org-hyphenation-cs'
    Note, selecting 'openoffice.org-hyphenation' instead of 'openoffice.org-hyphenation-da'
    Note, selecting 'openoffice.org-hyphenation' instead of 'openoffice.org-hyphenation-el'
    Note, selecting 'openoffice.org-hyphenation' instead of 'openoffice.org-hyphenation-es'
    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'
    Note, selecting 'openoffice.org-hyphenation' instead of 'openoffice.org-hyphenation-is'
    Note, selecting 'openoffice.org-hyphenation' instead of 'openoffice.org-hyphenation-nl'
    Note, selecting 'openoffice.org-hyphenation' instead of 'openoffice.org-hyphenation-pt'
    Note, selecting 'openoffice.org-hyphenation' instead of 'openoffice.org-hyphenation-sk'
    Note, selecting 'hyphen-sv' instead of 'openoffice.org-hyphenation-sv'
    Note, selecting 'openoffice.org-hyphenation' instead of 'openoffice.org-hyphenation-uk'
    Package 'openoffice.org-calc' is not installed, so not removed
    Package 'mozilla-openoffice.org' is not installed, so not removed
    Package 'openoffice.org-kde' is not installed, so not removed
    Note, selecting 'ming-fonts-opensymbol' instead of 'libming-fonts-openoffice'
    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.org3' is not installed, so not removed
    Package 'openoffice.org3-dict-es' is not installed, so not removed
    Package 'openoffice.org3-dict-en' is not installed, so not removed
    Package 'openoffice.org3-dict-fr' is not installed, so not removed
    Package 'openoffice.org3-writer' is not installed, so not removed
    Note, selecting 'openoffice-debian-menus' instead of 'openoffice-desktop-integration'
    Package 'openofficeorg-desktop-integration' is not installed, so not removed
    Package 'openoffice.org-debian-menus' is not installed, so not removed
    Package 'openoffice.org3-en-us' is not installed, so not removed
    Package 'openoffice.org3-impress' is not installed, so not removed
    Package 'openoffice.org3-draw' is not installed, so not removed
    Package 'openoffice.org3-calc' is not installed, so not removed
    Package 'openoffice.org-ure' is not installed, so not removed
    Package 'openoffice.org3-math' is not installed, so not removed
    Package 'openoffice.org3-base' is not installed, so not removed
    Package 'kde-thumbnailer-openoffice' is not installed, so not removed
    Package 'libopenoffice-oodoc-perl' is not installed, so not removed
    Package 'openoffice.org-hyphenation-lt' is not installed, so not removed
    Package 'openoffice.org-dtd-officedocument1.0' is not installed, so not removed
    You might want to run 'apt-get -f install' to correct these:
    The following packages have unmet dependencies:
     libreoffice-core : Depends: libreoffice-common (> 1:4.2.7) but it is not going to be installed
     libreoffice-help-en-us : Depends: libreoffice-l10n-en-us
     libreoffice-java-common : Depends: libreoffice-common but it is not going to be installed
     libreoffice-l10n-en-gb : Depends: libreoffice-common but it is not going to be installed
     libreoffice-l10n-en-za : Depends: libreoffice-common but it is not going to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

O próximo sudo apt-get clean && sudo apt-get autoclean

brand@brand-Aspire-5349:~$ sudo apt-get clean && sudo apt-get autoclean
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    brand@brand-Aspire-5349:~$ sudo apt-get autoremove
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    You might want to run 'apt-get -f install' to correct these.
    The following packages have unmet dependencies:
     libreoffice-core : Depends: libreoffice-common (> 1:4.2.7) but it is not installed
     libreoffice-help-en-us : Depends: libreoffice-l10n-en-us
     libreoffice-java-common : Depends: libreoffice-common but it is not installed
     libreoffice-l10n-en-gb : Depends: libreoffice-common but it is not installed
     libreoffice-l10n-en-za : Depends: libreoffice-common but it is not installed
    E: Unmet dependencies. Try using -f.
    brand@brand-Aspire-5349:~$ sudo apt-get install libreoffice
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    libreoffice is already the newest version.
    You might want to run 'apt-get -f install' to correct these:
    The following packages have unmet dependencies:
     libreoffice-core : Depends: libreoffice-common (> 1:4.2.7) but it is not going to be installed
     libreoffice-help-en-us : Depends: libreoffice-l10n-en-us
     libreoffice-java-common : Depends: libreoffice-common but it is not going to be installed
     libreoffice-l10n-en-gb : Depends: libreoffice-common but it is not going to be installed
     libreoffice-l10n-en-za : Depends: libreoffice-common but it is not going to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Então esse sudo apt-get autoremove

brand@brand-Aspire-5349:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 libreoffice-core : Depends: libreoffice-common (> 1:4.2.7) but it is not installed
 libreoffice-help-en-us : Depends: libreoffice-l10n-en-us
 libreoffice-java-common : Depends: libreoffice-common but it is not installed
 libreoffice-l10n-en-gb : Depends: libreoffice-common but it is not installed
 libreoffice-l10n-en-za : Depends: libreoffice-common but it is not installed
E: Unmet dependencies. Try using -f.
brand@brand-Aspire-5349:~$ sudo apt-get install libreoffice
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libreoffice is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libreoffice-core : Depends: libreoffice-common (> 1:4.2.7) but it is not going to be installed
 libreoffice-help-en-us : Depends: libreoffice-l10n-en-us
 libreoffice-java-common : Depends: libreoffice-common but it is not going to be installed
 libreoffice-l10n-en-gb : Depends: libreoffice-common but it is not going to be installed
 libreoffice-l10n-en-za : Depends: libreoffice-common but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
brand@brand-Aspire-5349:~$ apt-get -f install
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
brand@brand-Aspire-5349:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 libreoffice-core : Depends: libreoffice-common (> 1:4.2.7) but it is not installed
 libreoffice-help-en-us : Depends: libreoffice-l10n-en-us
 libreoffice-java-common : Depends: libreoffice-common but it is not installed
 libreoffice-l10n-en-gb : Depends: libreoffice-common but it is not installed
 libreoffice-l10n-en-za : Depends: libreoffice-common but it is not installed
E: Unmet dependencies. Try using -f.

e último sudo apt-get install libreoffice

Reading package lists... Done
Building dependency tree       
Reading state information... Done
libreoffice is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libreoffice-core : Depends: libreoffice-common (> 1:4.2.7) but it is not going to be installed
 libreoffice-help-en-us : Depends: libreoffice-l10n-en-us
 libreoffice-java-common : Depends: libreoffice-common but it is not going to be installed
 libreoffice-l10n-en-gb : Depends: libreoffice-common but it is not going to be installed
 libreoffice-l10n-en-za : Depends: libreoffice-common but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    
por Brandd Newman 12.11.2014 / 00:26
0

Tente estes, um por um:

sudo apt-get purge openoffice*
sudo apt-get clean && sudo apt-get autoclean
sudo apt-get autoremove
sudo apt-get install libreoffice
    
por wladypauly 11.11.2014 / 21:52
0

Tente:

sudo dpkg -i --force-overwrite /var/cache/apt/archives/libreoffice-common_1%3a4.2.7-0ubuntu1_all.deb

Então:

sudo apt-get -f install
sudo ap-get install libreoffice

source: Como resolver "dpkg: error processing /var/cache/apt/archives/python-apport_2.0.1-0ubuntu9_all.deb"?

    
por user708714 07.07.2017 / 11:21
0

Eu entendo isso aconteceu anos atrás, mas eu tive uma situação semelhante com 18.04 LTS (Bionic). Meu computador estava preso, não atualizações, instala ... nada. Então ......

A única maneira de resolver o problema foi instalando o pacote chamado libreoffice-common. Aqui é onde eu encontrei a mensagem de erro do dpkg:

dpkg: arquivo de processamento de erros /var/cache/apt/archives/libreoffice-common_1%3a6.0.3-0ubuntu1_all.deb (--unpack):  tentando sobrescrever '/ usr / bin / soffice', que também está no pacote openoffice-debian-menus 4.1.4-9788 rmdir: falha ao remover '/ var / lib / libreoffice / share / prereg /': Nenhum arquivo ou diretório rmdir: falha ao remover '/ var / lib / libreoffice / share /': Nenhum arquivo ou diretório rmdir: falha ao remover '/ var / lib / libreoffice / program /': Nenhum arquivo ou diretório rmdir: falha ao remover '/ var / lib / libreoffice': Nenhum arquivo ou diretório rmdir: falha ao remover '/ var / lib / libreoffice': Nenhum arquivo ou diretório Erros foram encontrados durante o processamento:  /var/cache/apt/archives/libreoffice-common_1%3a6.0.3-0ubuntu1_all.deb E: Subprocesso / usr / bin / dpkg retornou um código de erro (1) "

Eu tive que ler atentamente a mensagem de erro. Foi deixando-me saber que outro aplicativo com o nome de openoffice-debian-menus estava usando o arquivo localizado em / usr / bin / soffice. Este arquivo não pode ser sobrescrito por algum motivo ou outro.

Então eu removi o programa usando o dpkg: sudo dpkg -P openoffice-debian-menus 4.1.4-9788

Instalado no libreoffice-common: sudo apt instala o libreoffice-common

Executou atualizações: sudo apt update & amp; & amp; sudo apt list --upgradable

Depois de executar o comando anterior, use o seguinte para verificar se deseja incluir os pacotes incluídos na atualização: sudo apt show pkgs "Nome do pacote". Se tudo estiver correto, execute o sudo apt upgrade completo & amp; & amp; sudo apt autoremove.

Espero que tudo dê certo.

    
por Randy Robinson 04.07.2018 / 08:36