
問題となっているパッケージはすでにインストールされています。「apt-get -f install」と「dpkg --configure -a」を実行しましたが、何も変わりませんでした。依存関係をアンインストールして再インストールしました。また、「apt-get install --reinstall」も実行しました。出力にあるすべてのパッケージ(インストールするパッケージ、依存関係のある他のパッケージ、および依存関係自体)を「dpkg -r --force-depends」で削除し、同じコマンドラインからすべてをインストールしました。パッケージのインストールを実行すると、次のように表示されます。ないインストールされても、何も行われません。Apt はそれらが存在すると認識する場合もあれば、存在しない場合もあります。
何かを見落としているのでしょうか、それとも何かが起こっているのでしょうか?
$ sudo apt-get install freeglut3-dev
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:
gnome-control-center : Depends: libcheese-gtk23 (>= 3.4.0) but it is not going to be installed
Depends: libcheese7 (>= 3.0.1) but it is not going to be installed
unity-control-center : Depends: libcheese-gtk23 (>= 3.4.0) but it is not going to be installed
Depends: libcheese7 (>= 3.0.1) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
$ dpkg -l libcheese-gtk23 libcheese7
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=========================================-=========================-=========================-=======================================================================================
ii libcheese-gtk23:amd64 3.10.2-0ubuntu2 amd64 tool to take pictures and videos from your webcam - widgets
ii libcheese7:amd64 3.10.2-0ubuntu2 amd64 tool to take pictures and videos from your webcam - base library
答え1
とにかく悪い状態になってしまいました。再インストールを試み続け、コマンドラインに記述されているパッケージをすべて追加し続けました。最終的に、freeglut3-devパッケージ (本当にインストールしたかった唯一のパッケージ):
apt-get install --reinstall freeglut3-dev gnome-control-center unity-control-center libcheese7 libcheese-gtk23 libclutter-1.0-0 libclutter-gtk-1.0-0 libclutter-gst-2.0-0 gstreamer1.0-clutter libcogl-pango15 libcogl15