web-dev-qa-db-ja.com

VLCの依存関係「vlc-nox」を解決するにはどうすればよいですか?

Ubuntu(Ubuntu 2.6.38-11-generic-pae#50-Ubuntu SMP、i686 Athlon i386 GNU/Linux)をインストールしました。私はLinuxの初心者です。

コマンドラインを使用してVLCメディアプレーヤーをインストールしようとしています:

% Sudo apt-get update
% Sudo apt-get install vlc vlc-plugin-Pulse mozilla-plugin-vlc

最初のコマンドは問題なく実行されます。次に、2行目を実行しようとしました。これにより、次の出力が得られます。

Reading package lists... Done Building dependency tree        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:  mozilla-plugin-vlc : Depends: vlc-nox (= 1.1.9-1ubuntu1.3) but it is not going to be installed  vlc : Depends: vlc-nox (= 1.1.9-1ubuntu1.3) but it is not going to be installed
       Depends: libavcodec52 (>= 4:0.6-1~) but it is not going to be installed or
                libavcodec-extra-52 (>= 4:0.6-1~) but it is not going to be installed
       Depends: libqtgui4 (>= 4:4.5.3) but it is not going to be installed
       Depends: libva-x11-1 but it is not installable
       Depends: libva1 but it is not installable
       Depends: libxcb-keysyms1 (>= 0.3.6) but it is not installable
       Depends: libxcb-randr0 (>= 1.1) but it is not installable
       Depends: libxcb-xv0 (>= 1.2) but it is not installable
       Recommends: vlc-plugin-notify (= 1.1.9-1ubuntu1.3) but it is not going to be installed  vlc-plugin-Pulse : Depends: vlc-nox (=
1.1.9-1ubuntu1.3) but it is not going to be installed E: Broken packages

この問題を解決するにはどうすればよいですか?

その後、Ubuntuソフトウェアセンターから GNOME Media Player をインストールしようとしました。次のエラーメッセージが返されました。

The following packages have unmet dependencies:

gnome-media-player: Depends: libatkmm-1.6-1 (>= 2.22.0) but 2.22.5-0ubuntu1 is to be installed
                    Depends: libc6 (>= 2.4) but 2.13-0ubuntu13 is to be installed
                    Depends: libdbus-1-3 (>= 1.0.2) but 1.4.6-1ubuntu6.1 is to be installed
                    Depends: libdbus-glib-1-2 (>= 0.78) but 0.92-0ubuntu1 is to be installed
                    Depends: libgcc1 (>= 1:4.1.1) but 1:4.5.2-8ubuntu4 is to be installed
                    Depends: libgconf2-4 (>= 2.31.1) but 2.32.2-0ubuntu2 is to be installed
                    Depends: libglib2.0-0 (>= 2.12.0) but 2.28.6-0ubuntu1 is to be installed
                    Depends: libglibmm-2.4-1c2a (>= 2.27.3) but 2.28.0-1 is to be installed
                    Depends: libgstreamer-plugins-base0.10-0 (>= 0.10.0) but 0.10.32-1ubuntu5 is to be installed
                    Depends: libgstreamer0.10-0 (>= 0.10.7) but 0.10.32-3ubuntu3.1 is to be installed
                    Depends: libgtk2.0-0 (>= 2.12.0) but 2.24.4-0ubuntu2 is to be installed
                    Depends: libgtkmm-2.4-1c2a (>= 1:2.22.0) but 1:2.24.0-0ubuntu1 is to be installed
                    Depends: libsigc++-2.0-0c2a (>= 2.0.2) but 2.2.4.2-1ubuntu1 is to be installed
                    Depends: libstdc++6 (>= 4.5) but 4.5.2-8ubuntu4 is to be installed
                    Depends: libunique-1.0-0 (>= 1.0.0) but 1.1.6-1.1ubuntu2 is to be installed
                    Depends: libvlc5 (>= 1.1.0) but 1.1.9-1ubuntu1.3 is to be installed
                    Depends: libxine1 (>= 1.1.8-1) but it is not going to be installed
5

そこにあるログは、たくさんの依存関係が欠落していることを示しています。それぞれを個別にインストールするか、スペースで区切るという遅いルートをたどることができます。ただし、ubuntu 11.04(最新の安定バージョン)を実行していて、同じ問題は発生していません。唯一の違いは、新規インストール後に(以下で)行ったことです。

Sudo apt-get update && Sudo apt-get upgrade && Sudo apt-get install build-essential

enter image description here

Vlcをインストールするとき

Sudo apt-get install vlc

依存関係をインストールする必要があることを教えてくれます。 Yと入力してインストールします。プロセスは正常に実行され、インストールされます。

2
kobaltz

gstreamerなどの一部のパッケージは、標準リポジトリにありません。マルチバースおよびユニバースリポジトリからのダウンロードを有効にする必要があります。

Software soruces window

詳細: https://help.ubuntu.com/community/Repositories/Ubunt

2
micke

ほとんどの回答が示唆しているapt-get upgradeについては気分が悪いです。

これは主に2つの理由によるものです。

A.すべてのパッケージをアップグレードする必要がないのに、なぜアップグレードするのですか。

B.アップグレードされたすべてのパッケージが、すでにインストールされているパッケージほど効率的に機能するわけではありません。

ターミナルを使用して、以下を使用することをお勧めします。

Sudo apt-get install vlc

ここで、vlc-noxのような満たされていない依存関係を取得するとします。

The following packages have unmet dependencies:
 vlc : Depends: vlc-nox (= 2.1.6-0ubuntu14.04.2) but it is not going to be installed
   Depends: libvlccore7 (>= 2.1.0) but it is not going to be installed
   Recommends: vlc-plugin-notify (= 2.1.6-0ubuntu14.04.2) but it is not going to be installed
   Recommends: vlc-plugin-Pulse (= 2.1.6-0ubuntu14.04.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

ここで、依存関係の名前をコマンドに追加するだけです。

Sudo apt-get install vlc vlc-nox

明確なインストール開始が得られるまで、依存関係を追加し続けます。

注意すべき1つのこと:依存関係の1つでバージョンの問題に直面しました。依存関係がインストールされましたが、古いバージョンです。

The following packages have unmet dependencies:
 libvlccore7 : Depends: vlc-data (= 2.1.6-0ubuntu14.04.2) but 3.0.0~~git20150319+r59816+33~ubuntu14.04.1 is to be installed

このタイプの問題を解決するには、パージを使用します。

apt-get purge vlc-data

次に、installコマンドを実行します。私の場合、それは結局そうなりました。

Sudo apt-get install vlc vlc-data vlc-nox libvlccore7 vlc-plugin-notify vlc-plugin-Pulse 

と出来上がり!お役に立てば幸いです。

1
Krishna Gupta

私(Ubuntu 11.10)にとって、答えは実行するのと同じくらい簡単でした:

 Sudo apt-get -f install
1
EBarr

私も同じ問題に直面しました。これを解決するために私はしました

オープンソフトウェアセンター。

編集からソフトウェアソースをクリックします

[Ubuntuソフトウェア]タブで、ソースコードを除くすべてのリポジトリを有効にし、[ダウンロード元]をクリックします。

ダウンロードドロップダウンから他を選択

次に、[最適なサーバーを選択]をクリックします

Ubuntuが最適なサーバーを選択したら、選択したサーバーをクリックします

次に、他のソフトウェアタブをクリックします。

VLCが見つかった場合は、すべてのエントリを削除します。そして、閉じるをクリックします。

Alt + Ctrl + Tキーの組み合わせを押してターミナルを開き、次のコマンドを実行します

Sudo apt-get clean
Sudo apt-get -f install
Sudo apt-get update
Sudo apt-get upgrade

アップグレード後、システムを再起動します。

再起動後、VLCのインストールを再試行してください。次のコマンドを実行します

Sudo add-apt-repository ppa:videolan/stable-daily
Sudo apt-get update
Sudo apt-get install vlc

ソース:- http://computernetworkingnotes.com/ubuntu-12-04-tips-and-tricks/how-to-install-vlc-in-ubuntu.html

0
user237574