MariaDBを削除した後のDPKG依存関係の問題により、apt-getを使用できなくなります

ニコラス・ラウル

このようにMariaDBをインストールしようとしましたが、次のエラーが発生しました。

dpkg: error processing /var/cache/apt/archives/libmysqlclient18_5.5.32+maria-1~raring_amd64.deb (--unpack):  
libmysqlclient18:amd64 5.5.32+maria-1~raring (Multi-Arch: no) is not co-installable with libmysqlclient18 which has multiple installed instances  
No apport report written because MaxReports is reached already

代わりにmysql-serverをインストールしようとしましたが、次のようになりました。

The following packages have unmet dependencies:  
 libmariadbclient18 : Depends: libmysqlclient18 (= 5.5.32+maria-1~raring) but 5.5.32-0ubuntu0.13.04.1 is to be installed  
 mysql-server : Depends: mysql-server-5.5 but it is not going to be installed  
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

apt-get -f install ただし、機能しません。

dpkg: error processing /var/cache/apt/archives/libmysqlclient18_5.5.32+maria-1~raring_amd64.deb (--unpack):  
 libmysqlclient18:amd64 5.5.32+maria-1~raring (Multi-Arch: no) is not co-installable with libmysqlclient18 which has multiple installed instances

ロールバックしてみたのでsudo dpkg -r mariadb-servermariadb-client-core-5.5 mariadb-client-5.5 mariadb-server-core-5.5、うまくいきました。mariadb-serverどうやらインストールされていません。それから私は試しましたsudo dpkg -r libmysqlclient18が、得ました:

dpkg: dependency problems prevent removal of libmysqlclient18:amd64:  
 amarok depends on libmysqlclient18 (>= 5.5.13-1).

amarokは長い間インストールされているので、削除したくありません。
このエラーを解決してMariaDBをすべて削除するにはどうすればよいですか?

aptitudeがインストールされておらず、Ubuntu Software Centerを起動New software can't be installed, because there is a problem with the software currently installed. Do you want to repair this problem now?すると、クリックRepairすると内部エラーが表示されます。

ここに画像の説明を入力してください


要求に応じて、sudo apt-get check:の出力

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 (= 5.5.32+maria-1~raring) but 5.5.32-0ubuntu0.13.04.1 is installed
E: Unmet dependencies. Try using -f.

の出力apt-cache policy libmysqlclient18 libmariadbclient18

libmysqlclient18:
  Installed: 5.5.32-0ubuntu0.13.04.1
  Candidate: 5.5.32+maria-1~raring
  Version table:
     5.5.32+maria-1~raring 0
        500 http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu/ raring/main amd64 Packages
 *** 5.5.32-0ubuntu0.13.04.1 0
        500 http://jp.archive.ubuntu.com/ubuntu/ raring-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ raring-security/main amd64 Packages
        100 /var/lib/dpkg/status
     5.5.29-0ubuntu1 0
        500 http://jp.archive.ubuntu.com/ubuntu/ raring/main amd64 Packages
libmariadbclient18:
  Installed: 5.5.32+maria-1~raring
  Candidate: 5.5.32+maria-1~raring
  Version table:
 *** 5.5.32+maria-1~raring 0
        500 http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu/ raring/main amd64 Packages
        100 /var/lib/dpkg/status

の出力cat /etc/apt/sources.list /etc/apt/sources.list.d/*.list

# deb cdrom:[Ubuntu 13.04 _Raring Ringtail_ - Release amd64 (20130424)]/ raring main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://jp.archive.ubuntu.com/ubuntu/ raring main restricted
deb-src http://jp.archive.ubuntu.com/ubuntu/ raring main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://jp.archive.ubuntu.com/ubuntu/ raring-updates main restricted
deb-src http://jp.archive.ubuntu.com/ubuntu/ raring-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://jp.archive.ubuntu.com/ubuntu/ raring universe
deb-src http://jp.archive.ubuntu.com/ubuntu/ raring universe
deb http://jp.archive.ubuntu.com/ubuntu/ raring-updates universe
deb-src http://jp.archive.ubuntu.com/ubuntu/ raring-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://jp.archive.ubuntu.com/ubuntu/ raring multiverse
deb-src http://jp.archive.ubuntu.com/ubuntu/ raring multiverse
deb http://jp.archive.ubuntu.com/ubuntu/ raring-updates multiverse
deb-src http://jp.archive.ubuntu.com/ubuntu/ raring-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://jp.archive.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse
deb-src http://jp.archive.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu raring-security main restricted
deb-src http://security.ubuntu.com/ubuntu raring-security main restricted
deb http://security.ubuntu.com/ubuntu raring-security universe
deb-src http://security.ubuntu.com/ubuntu raring-security universe
deb http://security.ubuntu.com/ubuntu raring-security multiverse
deb-src http://security.ubuntu.com/ubuntu raring-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu raring partner
# deb-src http://archive.canonical.com/ubuntu raring partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu raring main
deb-src http://extras.ubuntu.com/ubuntu raring main

##############################################################
##################### UNOFFICIAL  REPOS http://repogen.simplylinux.ch ######################
##############################################################

###### 3rd Party Binary Repos

#### Google Chrome Browser - http://www.google.com/linuxrepositories/
## Run this command: wget -q https://dl-ssl.google.com/linux/linux_signing_key.pub -O- | sudo apt-key add -
deb http://dl.google.com/linux/chrome/deb/ stable main

#### Google Earth - http://www.google.com/linuxrepositories/
## Run this command: wget -q https://dl-ssl.google.com/linux/linux_signing_key.pub -O- | sudo apt-key add -
deb http://dl.google.com/linux/earth/deb/ stable main

#### Midori PPA - https://launchpad.net/~midori/+archive/ppa
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A69241F1
deb http://ppa.launchpad.net/midori/ppa/ubuntu raring main

#### Opera - http://www.opera.com/
## Run this command: sudo wget -O - http://deb.opera.com/archive.key | sudo apt-key add -
deb http://deb.opera.com/opera/ stable non-free

#### Oracle Java (JDK) Installer PPA - http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886
deb http://ppa.launchpad.net/webupd8team/java/ubuntu raring main

#### VirtualBox - http://www.virtualbox.org
## Run this command: wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
deb http://download.virtualbox.org/virtualbox/debian raring contrib

#### X Updates - https://launchpad.net/~ubuntu-x-swat/+archive/x-updates/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys AF1CDFA9
deb http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu raring main


####### 3rd Party Source Repos

#### Gimp PPA (Source) - https://launchpad.net/~otto-kesselgulasch/+archive/gimp
## Run this command: sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 614C4B38
deb-src http://ppa.launchpad.net/otto-kesselgulasch/gimp/ubuntu raring main

#### Midori PPA (Source) - https://launchpad.net/~midori/+archive/ppa
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A69241F1
deb-src http://ppa.launchpad.net/midori/ppa/ubuntu raring main

#### Oracle Java (JDK) Installer PPA (Source) - http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886
deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu raring main

deb http://archive.canonical.com/ raring partner
# deb-src http://archive.canonical.com/ raring partner
deb http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu raring main
# deb-src http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu raring main
deb http://ppa.launchpad.net/atareao/atareao/ubuntu raring main
# deb-src http://ppa.launchpad.net/atareao/atareao/ubuntu raring main
deb http://ppa.launchpad.net/bhdouglass/indicator-remindor/ubuntu raring main
# deb-src http://ppa.launchpad.net/bhdouglass/indicator-remindor/ubuntu raring main
deb http://linux.dropbox.com/ubuntu precise main
# deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu raring main
andrewsomething

あなたはほとんどそれを手に入れたように見えます。MariaDBパッケージを削除します。

dpkg -r mariadb-servermariadb-client-core-5.5 mariadb-client-5.5 mariadb-server-core-5.5 libmariadbclient18

次に、deb http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu raring main行を削除します/etc/apt/sources.list

次に、MariaDBのMySqlパッケージがまだキャッシュにないことを確認します。

apt-get clean

最後に、再インストールしlibmysqlclient18ます。

apt-get install --reinstall libmysqlclient18

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

「依存関係が満たされていない」ため、「apt-getinstall」を使用できなくなりました

分類Dev

YumまたはReposync:意図しない依存関係の問題なしにリポジトリをゆっくり削除するにはどうすればよいですか?

分類Dev

dpkg:依存関係の問題により構成が妨げられる

分類Dev

dpkg:依存関係の問題により構成が妨げられる

分類Dev

2つのレイアウト間でFloatingActionButtonを使用したレンダリングの問題は、依存関係24.2.0に更新した後に機能しなくなります。

分類Dev

Dnfは、mariadb-configおよびmariadb-commonに沿った多くの依存関係を削除します

分類Dev

依存関係を追加した後のSpring Data RESTに関する問題

分類Dev

apt-getには満たされていない依存関係がありますが、apt-get -finstallは問題を解決しません

分類Dev

オプションのシステム依存関係により、「無効な推移的な依存関係(存在する場合)は使用できなくなります」

分類Dev

dpkg:依存関係の問題によりinitramfs-toolsの設定が妨げられます

分類Dev

dpkg: 依存関係の問題により、shim-signed の構成が妨げられます

分類Dev

依存関係が満たされていない場合、「apt-get install -f」を実行した後、「dpkg -i」を実行する必要がありますか?

分類Dev

dpkgの設定に関する依存関係の問題の取得

分類Dev

apt-getは、少し問題のあるパッケージに関連する依存関係の問題にどのように対処できますか?

分類Dev

Gradleの依存関係を更新した後のレンダリングの問題

分類Dev

apt-getとdpkgが役に立たない場合に、依存関係が満たされていないMySQLとMariaDBを強制的に削除するにはどうすればよいですか?

分類Dev

Pythonの依存関係の問題により、Ubuntu17.10にGDBをインストールできません

分類Dev

左結合を追加した後、挿入が非常に遅くなります。何が問題なのですか?

分類Dev

Mavenを使用したSpring-Securityの依存関係に関する問題

分類Dev

一部の更新のためにスペースを解放しようとしていますが、削除/パージしようとして依存関係の問題がありません

分類Dev

依存関係の問題により、esxiを6.5u2にアップグレードできません

分類Dev

依存関係の問題により、Ubuntu20.04にcURLをインストールできません

分類Dev

mongockへの依存関係を追加した後、Java 9 Modularityの問題を修正するにはどうすればよいですか?

分類Dev

dpkgの依存関係が満たされていないため、apt-getがシステム全体を削除したい

分類Dev

ddescribeまたはiitを使用できなくなりました

分類Dev

カーネルのインストールに失敗すると、依存関係と構成の問題が原因でaptとdpkgが失敗します

分類Dev

SqlTransaction が完了しました。使用できなくなりました。ロールバックの問題です

分類Dev

「apt-getremovedependencies-names」を実行した後も「dpkg-l」に依存関係が存在します

分類Dev

rxjs5.5.2でforkjoinを使用できなくなりました

Related 関連記事

  1. 1

    「依存関係が満たされていない」ため、「apt-getinstall」を使用できなくなりました

  2. 2

    YumまたはReposync:意図しない依存関係の問題なしにリポジトリをゆっくり削除するにはどうすればよいですか?

  3. 3

    dpkg:依存関係の問題により構成が妨げられる

  4. 4

    dpkg:依存関係の問題により構成が妨げられる

  5. 5

    2つのレイアウト間でFloatingActionButtonを使用したレンダリングの問題は、依存関係24.2.0に更新した後に機能しなくなります。

  6. 6

    Dnfは、mariadb-configおよびmariadb-commonに沿った多くの依存関係を削除します

  7. 7

    依存関係を追加した後のSpring Data RESTに関する問題

  8. 8

    apt-getには満たされていない依存関係がありますが、apt-get -finstallは問題を解決しません

  9. 9

    オプションのシステム依存関係により、「無効な推移的な依存関係(存在する場合)は使用できなくなります」

  10. 10

    dpkg:依存関係の問題によりinitramfs-toolsの設定が妨げられます

  11. 11

    dpkg: 依存関係の問題により、shim-signed の構成が妨げられます

  12. 12

    依存関係が満たされていない場合、「apt-get install -f」を実行した後、「dpkg -i」を実行する必要がありますか?

  13. 13

    dpkgの設定に関する依存関係の問題の取得

  14. 14

    apt-getは、少し問題のあるパッケージに関連する依存関係の問題にどのように対処できますか?

  15. 15

    Gradleの依存関係を更新した後のレンダリングの問題

  16. 16

    apt-getとdpkgが役に立たない場合に、依存関係が満たされていないMySQLとMariaDBを強制的に削除するにはどうすればよいですか?

  17. 17

    Pythonの依存関係の問題により、Ubuntu17.10にGDBをインストールできません

  18. 18

    左結合を追加した後、挿入が非常に遅くなります。何が問題なのですか?

  19. 19

    Mavenを使用したSpring-Securityの依存関係に関する問題

  20. 20

    一部の更新のためにスペースを解放しようとしていますが、削除/パージしようとして依存関係の問題がありません

  21. 21

    依存関係の問題により、esxiを6.5u2にアップグレードできません

  22. 22

    依存関係の問題により、Ubuntu20.04にcURLをインストールできません

  23. 23

    mongockへの依存関係を追加した後、Java 9 Modularityの問題を修正するにはどうすればよいですか?

  24. 24

    dpkgの依存関係が満たされていないため、apt-getがシステム全体を削除したい

  25. 25

    ddescribeまたはiitを使用できなくなりました

  26. 26

    カーネルのインストールに失敗すると、依存関係と構成の問題が原因でaptとdpkgが失敗します

  27. 27

    SqlTransaction が完了しました。使用できなくなりました。ロールバックの問題です

  28. 28

    「apt-getremovedependencies-names」を実行した後も「dpkg-l」に依存関係が存在します

  29. 29

    rxjs5.5.2でforkjoinを使用できなくなりました

ホットタグ

アーカイブ