Невозможно установить Libreoffice на Ubuntu 16.04? [дубликат]

Я очистил свой libreoffice, но затем не смог снова установить libreoffice в моей системе Ubunut 16.04.

Ниже приведена ошибка. Пожалуйста помоги. Сообщите мне, если что-то еще понадобится с моей стороны.

sudo apt-get install libreoffice
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libreoffice : Depends: libreoffice-base but it is not going to be installed
               Depends: libreoffice-calc but it is not going to be installed
               Depends: libreoffice-core (= 1:6.3.1~rc1-0ubuntu0.16.04.1~lo6) but it is not going to be installed
               Depends: libreoffice-draw but it is not going to be installed
               Depends: libreoffice-impress but it is not going to be installed
               Depends: libreoffice-math but it is not going to be installed
               Depends: libreoffice-report-builder-bin but it is not going to be installed
               Depends: libreoffice-writer but it is not going to be installed
               Depends: python3-uno (>= 4.4.0~beta2) but it is not going to be installed
               Recommends: fonts-noto-core but it is not installable
               Recommends: fonts-noto-ui-core but it is not installable
               Recommends: libreoffice-gnome but it is not going to be installed
               Recommends: libreoffice-nlpsolver but it is not going to be installed
               Recommends: libreoffice-report-builder but it is not going to be installed
               Recommends: libreoffice-script-provider-bsh but it is not going to be installed
               Recommends: libreoffice-script-provider-js but it is not going to be installed
               Recommends: libreoffice-script-provider-python but it is not going to be installed
               Recommends: libreoffice-sdbc-mysql but it is not going to be installed
               Recommends: libreoffice-sdbc-postgresql but it is not going to be installed
               Recommends: libreoffice-wiki-publisher but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Я провел небольшое исследование и в конце концов застрял на указанной ниже ошибке. Пожалуйста помоги.

sudo apt-get install libreoffice-core 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libreoffice-core : Depends: libstdc++6 (>= 6) but 5.4.0-6ubuntu1~16.04.11 is to be installed
E: Unable to correct problems, you have held broken packages.

sudo apt-cache policy

Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://packages.microsoft.com/repos/vscode stable/main amd64 Packages
     release o=vscode stable,a=stable,n=stable,l=vscode stable,c=main,b=amd64
     origin packages.microsoft.com
 500 http://linux.teamviewer.com/deb stable/main i386 Packages
     release o=TeamViewer GmbH,a=stable,l=TeamViewer,c=main,b=i386
     origin linux.teamviewer.com
 500 http://linux.teamviewer.com/deb stable/main amd64 Packages
     release o=TeamViewer GmbH,a=stable,l=TeamViewer,c=main,b=amd64
     origin linux.teamviewer.com
 500 https://repo.skype.com/deb stable/main amd64 Packages
     release o=. stable,a=stable,n=stable,l=. stable,c=main,b=amd64
     origin repo.skype.com
 500 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu xenial/main i386 Packages
     release v=16.04,o=LP-PPA-nilarimogard-webupd8,a=xenial,n=xenial,l=WebUpd8,c=main,b=i386
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu xenial/main amd64 Packages
     release v=16.04,o=LP-PPA-nilarimogard-webupd8,a=xenial,n=xenial,l=WebUpd8,c=main,b=amd64
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/nathan-renniewaldock/flux/ubuntu xenial/main i386 Packages
     release v=16.04,o=LP-PPA-nathan-renniewaldock-flux,a=xenial,n=xenial,l=f.lux GUI,c=main,b=i386
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/nathan-renniewaldock/flux/ubuntu xenial/main amd64 Packages
     release v=16.04,o=LP-PPA-nathan-renniewaldock-flux,a=xenial,n=xenial,l=f.lux GUI,c=main,b=amd64
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/libreoffice/ppa/ubuntu xenial/main i386 Packages
     release v=16.04,o=LP-PPA-libreoffice,a=xenial,n=xenial,l=LibreOffice Fresh,c=main,b=i386
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/libreoffice/ppa/ubuntu xenial/main amd64 Packages
     release v=16.04,o=LP-PPA-libreoffice,a=xenial,n=xenial,l=LibreOffice Fresh,c=main,b=amd64
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/libreoffice/libreoffice-prereleases/ubuntu xenial/main i386 Packages
     release v=16.04,o=LP-PPA-libreoffice-libreoffice-prereleases,a=xenial,n=xenial,l=LibreOffice Pre-Releases,c=main,b=i386
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/libreoffice/libreoffice-prereleases/ubuntu xenial/main amd64 Packages
     release v=16.04,o=LP-PPA-libreoffice-libreoffice-prereleases,a=xenial,n=xenial,l=LibreOffice Pre-Releases,c=main,b=amd64
     origin ppa.launchpad.net
 500 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages
     release v=1.0,o=Google LLC,a=stable,n=stable,l=Google,c=main,b=amd64
     origin dl.google.com
 500 http://download.virtualbox.org/virtualbox/debian xenial/contrib i386 Packages
     release o=Oracle Corporation,n=xenial,l=Oracle Corporation,c=contrib,b=i386
     origin download.virtualbox.org
 500 http://download.virtualbox.org/virtualbox/debian xenial/contrib amd64 Packages
     release o=Oracle Corporation,n=xenial,l=Oracle Corporation,c=contrib,b=amd64
     origin download.virtualbox.org
 500 http://security.ubuntu.com/ubuntu xenial-security/multiverse i386 Packages
     release v=16.04,o=Ubuntu,a=xenial-security,n=xenial,l=Ubuntu,c=multiverse,b=i386
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages
     release v=16.04,o=Ubuntu,a=xenial-security,n=xenial,l=Ubuntu,c=multiverse,b=amd64
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages
     release v=16.04,o=Ubuntu,a=xenial-security,n=xenial,l=Ubuntu,c=universe,b=i386
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages
     release v=16.04,o=Ubuntu,a=xenial-security,n=xenial,l=Ubuntu,c=universe,b=amd64
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu xenial-security/restricted i386 Packages
     release v=16.04,o=Ubuntu,a=xenial-security,n=xenial,l=Ubuntu,c=restricted,b=i386
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages
     release v=16.04,o=Ubuntu,a=xenial-security,n=xenial,l=Ubuntu,c=restricted,b=amd64
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages
     release v=16.04,o=Ubuntu,a=xenial-security,n=xenial,l=Ubuntu,c=main,b=i386
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
     release v=16.04,o=Ubuntu,a=xenial-security,n=xenial,l=Ubuntu,c=main,b=amd64
     origin security.ubuntu.com
 100 http://in.archive.ubuntu.com/ubuntu xenial-backports/universe i386 Packages
     release v=16.04,o=Ubuntu,a=xenial-backports,n=xenial,l=Ubuntu,c=universe,b=i386
     origin in.archive.ubuntu.com
 100 http://in.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages
     release v=16.04,o=Ubuntu,a=xenial-backports,n=xenial,l=Ubuntu,c=universe,b=amd64
     origin in.archive.ubuntu.com
 100 http://in.archive.ubuntu.com/ubuntu xenial-backports/main i386 Packages
     release v=16.04,o=Ubuntu,a=xenial-backports,n=xenial,l=Ubuntu,c=main,b=i386
     origin in.archive.ubuntu.com
 100 http://in.archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages
     release v=16.04,o=Ubuntu,a=xenial-backports,n=xenial,l=Ubuntu,c=main,b=amd64
     origin in.archive.ubuntu.com
 500 http://in.archive.ubuntu.com/ubuntu xenial-updates/multiverse i386 Packages
     release v=16.04,o=Ubuntu,a=xenial-updates,n=xenial,l=Ubuntu,c=multiverse,b=i386
     origin in.archive.ubuntu.com
 500 http://in.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages
     release v=16.04,o=Ubuntu,a=xenial-updates,n=xenial,l=Ubuntu,c=multiverse,b=amd64
     origin in.archive.ubuntu.com
 500 http://in.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages
     release v=16.04,o=Ubuntu,a=xenial-updates,n=xenial,l=Ubuntu,c=universe,b=i386
     origin in.archive.ubuntu.com
 500 http://in.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages
     release v=16.04,o=Ubuntu,a=xenial-updates,n=xenial,l=Ubuntu,c=universe,b=amd64
     origin in.archive.ubuntu.com
 500 http://in.archive.ubuntu.com/ubuntu xenial-updates/restricted i386 Packages
     release v=16.04,o=Ubuntu,a=xenial-updates,n=xenial,l=Ubuntu,c=restricted,b=i386
     origin in.archive.ubuntu.com
 500 http://in.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages
     release v=16.04,o=Ubuntu,a=xenial-updates,n=xenial,l=Ubuntu,c=restricted,b=amd64
     origin in.archive.ubuntu.com
 500 http://in.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages
     release v=16.04,o=Ubuntu,a=xenial-updates,n=xenial,l=Ubuntu,c=main,b=i386
     origin in.archive.ubuntu.com
 500 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
     release v=16.04,o=Ubuntu,a=xenial-updates,n=xenial,l=Ubuntu,c=main,b=amd64
     origin in.archive.ubuntu.com
 500 http://in.archive.ubuntu.com/ubuntu xenial/multiverse i386 Packages
     release v=16.04,o=Ubuntu,a=xenial,n=xenial,l=Ubuntu,c=multiverse,b=i386
     origin in.archive.ubuntu.com
 500 http://in.archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages
     release v=16.04,o=Ubuntu,a=xenial,n=xenial,l=Ubuntu,c=multiverse,b=amd64
     origin in.archive.ubuntu.com
 500 http://in.archive.ubuntu.com/ubuntu xenial/universe i386 Packages
     release v=16.04,o=Ubuntu,a=xenial,n=xenial,l=Ubuntu,c=universe,b=i386
     origin in.archive.ubuntu.com
 500 http://in.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
     release v=16.04,o=Ubuntu,a=xenial,n=xenial,l=Ubuntu,c=universe,b=amd64
     origin in.archive.ubuntu.com
 500 http://in.archive.ubuntu.com/ubuntu xenial/restricted i386 Packages
     release v=16.04,o=Ubuntu,a=xenial,n=xenial,l=Ubuntu,c=restricted,b=i386
     origin in.archive.ubuntu.com
 500 http://in.archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages
     release v=16.04,o=Ubuntu,a=xenial,n=xenial,l=Ubuntu,c=restricted,b=amd64
     origin in.archive.ubuntu.com
 500 http://in.archive.ubuntu.com/ubuntu xenial/main i386 Packages
     release v=16.04,o=Ubuntu,a=xenial,n=xenial,l=Ubuntu,c=main,b=i386
     origin in.archive.ubuntu.com
 500 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
     release v=16.04,o=Ubuntu,a=xenial,n=xenial,l=Ubuntu,c=main,b=amd64
     origin in.archive.ubuntu.com
Pinned packages: 
0
задан 26 August 2019 в 22:27

1 ответ

Попытайтесь использовать снимок для установки Office Libre ( ссылка сайта ). Я думаю, что поспешная версия более актуальна.

$ sudo snap install libreoffice 

, Если Вы все еще хотите использовать склонный, затем сделайте это. В Вашем сообщении об ошибке мы видим ошибку зависимости. Таким образом 1-й необходимо установить те зависимости. Например, Ваша ошибка говорит The following packages have unmet dependencies: libreoffice-core : Depends: libstdc++6 (>= 6) ... ..., Таким образом, необходимо сделать это: $ sudo apt install libstdc++6. После этого можно получить подобные сообщения об ошибках для других зависимостей. Установите их также. Наконец, когда все зависимости встречены, необходимо смочь установить офис Весов через Кв. Удача.

1
ответ дан 23 October 2019 в 04:27

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

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