新しく用意した仮想マシンにhydraをインストールしようとしたところ、標題のメッセージが発生したため、その対応方法のメモ。
■ 事象
次のコマンドの結果のとおり、hydraがインストールできませんでした。
$ sudo apt install hydra Reading package lists... Done Building dependency tree... Done 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: libfreerdp2-2 : Depends: libavcodec60 (>= 7:6.0) E: Unable to correct problems, you have held broken packages.
■ 対応方法
「libavcodec60」のバージョンが不適であるとのことなので、次のとおり対応してやります。
$ sudo apt install libavcodec60
再度hydraをインストールしてみます。
$ sudo apt install hydra
■ 感想
問題なくインストールできたのでよかったです。
■ 参考
特になし。
以上です。