LoginSignup
5
5

More than 3 years have passed since last update.

パッケージ依存関係が修復できない時の対処法

Last updated at Posted at 2020-01-07

まずは dpkg --audit で問題を確認する。
その後、それらのパッケージを強制的にアンインストールした後で再インストールする

sudo dpkg -P --force-depends パッケージ名
(ただ、パッケージや依存関係が壊れてたりすると、消えてくれないことがあるっぽい。

–force-remove-reinstreq オプションをつけると消えてくれた。)

と実行してアンインストールした後、

sudo apt-get install パッケージ名

で再インストール

sudo dpkg --audit

と実行して何も表示されなくなれば問題は解決のはずです。

5
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
5