
nvidia-driver
Debian 실험에서 설치하려고 합니다 .
$ sudo apt-get install nvidia-driver=352.63-1
하지만 종속성 오류가 발생합니다.
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:
nvidia-driver : Depends: libgl1-nvidia-glx (= 352.63-1) but 340.96-2 is to be installed
Depends: libegl1-nvidia (= 352.63-1) but 340.96-2 is to be installed
Depends: nvidia-driver-bin (= 352.63-1) but 340.96-2 is to be installed
Depends: xserver-xorg-video-nvidia (= 352.63-1) but 340.96-2 is to be installed
Depends: nvidia-vdpau-driver (= 352.63-1) but 340.96-2 is to be installed
Depends: nvidia-alternative (= 352.63-1)
Depends: nvidia-kernel-dkms (= 352.63-1) or
nvidia-kernel-352.63
Recommends: nvidia-settings (>= 352) but 340.93-1 is to be installed
Recommends: libgles1-nvidia (= 352.63-1) but 340.96-2 is to be installed
Recommends: libgles2-nvidia (= 352.63-1) but 340.96-2 is to be installed
E: Unable to correct problems, you have held broken packages.
따라서 분명히 nvidia-driver
실험에는 설치하려는 패키지와 동일한 소스가 아닌 기본 소스에서 설치를 시도하는 종속성이 있습니다.
apt-get이 필요한 모든 종속성을 자동으로 설치하도록 하는 방법이 있습니까? 어떤 변경 사항이 먼저 적용될 것인지 묻는 메시지가 표시되어 매우 중요한 패키지를 건드리지 않는다는 것을 알 수 있다면 좋을 것입니다.
답변1
source.list에 중복된 줄이 있을 때 이것을 보았습니다.
deb http://httpredir.debian.org/debian/ jessie contrib 메인 deb http://httpredir.debian.org/debian/ 비-무료
이 두 줄을 하나로 바꾸었으니 모든 것이 괜찮습니다.
deb http://httpredir.debian.org/debian/ jessie contrib 주요 비-무료