依存関係の問題により、LibreOfficeをインストールできません。

依存関係の問題により、LibreOfficeをインストールできません。

私は走った

sudo apt-get update && sudo apt-get dist upgrade

既定では、LibreOffice のインストールが削除されました。次のように再インストールしようとすると

sudo apt-get install libreoffice

それは私に依存関係の問題を与えました。だから処刑した

sudo apt-get purge libreoffice*

その後、インストールしようとしましたが、同じ問題が発生しました。このエラーが発生します。

gameranand@serenity ~ $ sudo apt-get -f 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:5.2.0~rc1-0ubuntu1~xenial1) 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: libreoffice-avmedia-backend-gstreamer but it is not going to be installed
               Depends: python3-uno (>= 4.4.0~beta2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

この問題をどのように解決できますか?毎日Libreofficeを使用しているので、解決策が必要です。

ベストアンサー1

Ubuntu(Trusty> Xenial)とLinux Mint(Rosa> Sarah)の両方が配布アップデートを受け取ったため、依存関係の問題が発生する可能性があります。私はMint Rosa 17.3ではLibreofficeが正常に動作しますが、利用可能なアップデート(インストールされたバージョン1:5.0.3~rc2-0ubuntu1~trusty2)が表示されません。最近Mint 18にアップデートした場合は、Linux Mintフォーラムにこの質問を投稿することをお勧めします。

xenialそれ以外の場合は、以前のバージョンのLibreofficeをインストールしてみてください(UbuntuではなくUbuntuベースtrusty)。望むより:https://askubuntu.com/questions/138284/how-to-downgrade-a-package-via-apt-get

または、運が良ければ完全にロールバックできますdist upgradehttp://crunchbang.org/forums/viewtopic.php?id=15750。自分で使ったことがないので、どれくらい効果があるのか​​分かりません。

apt-get upgradeこれからぜひご活用ください:)

おすすめ記事