
문제가 되는 패키지가 이미 설치되어 있습니다. "apt-get -f install" 및 "dpkg --configure -a"를 수행했지만 아무 것도 변경되지 않습니다. 종속성을 제거하고 다시 설치했습니다. "apt-get install --reinstall"도 실행했습니다. "dpkg -r --force-dependents"를 사용하여 출력에서 모든 패키지(설치 중인 패키지, 종속성이 있는 다른 패키지 및 종속성 자체)를 모두 제거한 다음 동일한 명령줄. 내가 주장하는 패키지를 설치할 때그렇지 않다설치하면 아무 작업도 수행되지 않습니다. 때때로 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