mariadbが満たされていない依存関係:mariadb-client-10.0がmysql-client-core-5.5と競合しています。

mariadbが満たされていない依存関係:mariadb-client-10.0がmysql-client-core-5.5と競合しています。

次の問題を解決するには?

$ sudo apt-get purge
[sudo] password for massa: 
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:
 libmariadbclient18 : Depends: libmysqlclient18 (= 10.0.28+maria-1~xenial) but it is not installed
 libstdc++-5-dev : Depends: libstdc++6 (>= 5.4.0-6ubuntu1~16.04.4) but 5.4.0-6ubuntu1~16.04.2 is installed
 libstdc++6 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.2) but 5.4.0-6ubuntu1~16.04.4 is installed
 libstdc++6:i386 : Depends: gcc-5-base:i386 (= 5.4.0-6ubuntu1~16.04.2) but 5.4.0-6ubuntu1~16.04.4 is installed
 mariadb-server-10.0 : Depends: mariadb-client-10.0 (>= 10.0.28+maria-1~xenial) but 10.0.27-0ubuntu0.16.04.1 is installed
E: Unmet dependencies. Try using -f.

ベストアンサー1

依存関係の問題に対する最も基本的な修正の1つは、以下を実行することです。

sudo apt-get -f install

これは-f「壊れたものを直す」という意味です。 Aptは破損した依存関係を修正しようとします。満たされていない依存関係を持つパッケージを手動でインストールした場合は、可能であればその依存apt-get関係がインストールされます。それ以外の場合は、問題を解決するためにインストールしたパッケージを削除することもできます。

おすすめ記事