Linux Mintの破損したパッケージ

Linux Mintの破損したパッケージ

apt-get upgradeコマンドを実行すると、次のエラーが発生します。

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:
  libvlc5 : Depends: libvlccore9 (>= 4.0.0~rc1~~git20180305+r74659+127~ubuntu16.04.1) but it is not installed
vlc : Depends: vlc-bin (= 4.0.0~rc1~~git20180210+r74136+127~ubuntu16.04.1) but it is not installed
   Depends: vlc-plugin-base (= 4.0.0~rc1~~git20180210+r74136+127~ubuntu16.04.1) but it is not installed
   Depends: vlc-plugin-qt (= 4.0.0~rc1~~git20180210+r74136+127~ubuntu16.04.1) but it is not installed
   Depends: vlc-plugin-video-output (= 4.0.0~rc1~~git20180210+r74136+127~ubuntu16.04.1) but it is not installed
E: Unmet dependencies. Try using -f.

私はapt-get install -fを試しました。出力は次のとおりです。

(Reading database ... 568381 files and directories currently installed.)
Preparing to unpack .../libvlccore9_4.0.0~rc1~~git20180305+r74659+127~ubuntu16.04.1_amd64.deb ...
Unpacking libvlccore9:amd64 (4.0.0~rc1~~git20180305+r74659+127~ubuntu16.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/libvlccore9_4.0.0~rc1~~git20180305+r74659+127~ubuntu16.04.1_amd64.deb (--unpack):
trying to overwrite '/usr/lib/x86_64-linux-gnu/libvlccore.so.9.0.0', which is also in package libvlccore8:amd64 3.0.0~~git20171210+r73147+99~ubuntu16.04.1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Errors were encountered while processing: /var/cache/apt/archives/libvlccore9_4.0.0~rc1~~git20180305+r74659+127~ubuntu16.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

ベストアンサー1

あなたは使用していますVLCデイリーマスターブランチビルドPPA、これは明確に言います。

注:このアーカイブのビルドは完全に自動化されており、品質保証は適用されません。ビルドの中断と機能回帰が頻繁に発生します。

そのような問題を処理する準備ができていない場合は、このアーカイブを使用しないでください。

このアーカイブを使用してはいけないようです。

リポジトリからそれらをアンインストールして実行し、関連パッケージをすべてアンインストールしてから再インストールする必要がありapt updateますvlc(これにより、構成した他のリポジトリから利用可能なバージョンがインストールされます)。

おすすめ記事