NVIDIAドライババージョン375をインストールするには?

NVIDIAドライババージョン375をインストールするには?

GTX 1050 TIがあり、ドライババージョン375が必要です。私のソースのリストは次のとおりです。

# deb http://ftp.us.debian.org/debian/ jessie main

deb http://ftp.us.debian.org/debian/ jessie main contrib non-free
deb-src http://ftp.us.debian.org/debian/ jessie main

deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main

# jessie-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ jessie-updates main
deb-src http://ftp.us.debian.org/debian/ jessie-updates main
deb http://ftp.debian.org/debian experimental main contrib non-free

sudo apt-get updateを実行しました。

sudo apt-get -t Experimental install nvidia-driver を実行するとエラーが発生します。

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: nvidia-driver-libs (= 375.20-2) but it is not going to be installed
                 Depends: nvidia-driver-bin (= 375.20-2) but it is not going to be installed
                 Depends: xserver-xorg-video-nvidia (= 375.20-2) but it is not going to be installed
                 Depends: nvidia-vdpau-driver (= 375.20-2) but it is not going to be installed
                 Depends: nvidia-alternative (= 375.20-2) but it is not going to be installed
                 Depends: nvidia-kernel-dkms (= 375.20-2) but it is not going to be installed or
                          nvidia-kernel-375.20
                 Recommends: nvidia-settings (>= 375) but it is not going to be installed
                 Recommends: nvidia-persistenced but it is not installable
E: Unable to correct problems, you have held broken packages.

ベストアンサー1

echo 'deb-src http://httpredir.debian.org/debian/ experimental main contrib non-free' >> /etc/apt/sources.list.d/experimental.list
apt-get source nvidia-driver=375.20-2
apt-get build-dep nvidia-driver
cd nvidia-graphics-drivers-375.20/
dpkg-buildpackage
cd ..
dpkg -i nvidia*.deb

おすすめ記事