ffmpegをインストールすると、sudo apt install ffmpeg
このエラーが発生します。
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:
ffmpeg : Depends: libavcodec59 (= 7:5.1.2-0ubuntu1~22.04.sav2)
Depends: libavfilter8 (= 7:5.1.2-0ubuntu1~22.04.sav2)
Depends: libavformat59 (= 7:5.1.2-0ubuntu1~22.04.sav2)
libavdevice59 : Depends: libavcodec59 (= 7:5.1.2-0ubuntu1~22.04.sav2)
Depends: libavfilter8 (= 7:5.1.2-0ubuntu1~22.04.sav2)
Depends: libavformat59 (= 7:5.1.2-0ubuntu1~22.04.sav2)
Depends: libsndio7 (>= 1.8.1) but it is not installable
E: Unable to correct problems, you have held broken packages
私はLinuxについてよく知らないので、この問題を解決する方法がわかりません。ここに私のシステムがあります。情報。私がリストしたパッケージは次のとおりですsudo apt list
。ログが大きいので mediafire。
ベストアンサー1
システムに非標準リポジトリを追加したようです。サフィックス「sav2」を見ると、次のように思われます。https://launchpad.net/~savoury1/+archive/ubuntu/ffmpeg4。サードパーティのリポジトリの使用に本質的に間違ったことはありませんが、その意味を理解するのは難しいかもしれません。したがって、初心者にはお勧めできません。
インストールしてみることができますppa-purge
。その後実行
sudo ppa-purge -o savoury1
問題のあるリポジトリ(およびそのリポジトリが提供するすべてのパッケージ)をシステムから削除します。それからsudo apt install ffmpeg
成功する機会があります。