Попытка исправить поврежденные зависимости (Libre Office)

Установите Ubuntu Tweak. Откройте его. Перейдите к Tweaks -> File Manager, и вы увидите там вариант.

1
задан 26 April 2017 в 11:19

4 ответа

Если у вас есть эта проблема, выполните следующие действия:

sudo mkdir /usr/bin/soffice
sudo apt-get -f install -y
3
ответ дан 24 May 2018 в 01:57

Я получаю следующие ошибки при попытке каждого из них, я просто копировал и вставлял весь терминал. Я понял, что после того, как я получил ошибки от первого, что остальные не будут работать, но я сделал их в любом случае, чтобы показать вам, что говорит терминал.

Первый 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).

Следующий 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).

Затем этот 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.

и последний 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).
1
ответ дан 24 May 2018 в 01:57

Попробуйте поочередно:

sudo apt-get purge openoffice*
sudo apt-get clean && sudo apt-get autoclean
sudo apt-get autoremove
sudo apt-get install libreoffice
0
ответ дан 24 May 2018 в 01:57

Попробуйте:

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

Затем:

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

source: Как разрешить " dpkg: обработка ошибок / var / cache / apt / archives / python-apport_2 .0.1-0ubuntu9_all.deb & Quot;?

0
ответ дан 24 May 2018 в 01:57

Другие вопросы по тегам:

Похожие вопросы: