将我的显卡驱动程序更新为 Nvidia 430 时出现问题

将我的显卡驱动程序更新为 Nvidia 430 时出现问题

我正在使用 Ubuntu 18.04 及以下本指南。当我输入sudo add-apt-repository ppa:graphics-drivers/ppa终端输出这个错误信息:

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://download.opensuse.org/repositories/home:/strycore/xUbuntu_18.04 ./ Release: The following signatures were invalid: EXPKEYSIG 2F7F0DA5FD5B64B9 home:strycore OBS Project <home:[email protected]>
E: Repository 'http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease' changed its 'Label' value from 'Oracle Java (JDK) 8 Installer PPA' to 'Oracle Java (JDK) 8 Installer PPA (DISCONTINUED)'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.

我该怎么办?如何更新显卡驱动程序?

输入后sudo apt-install nvidia-driver-430出现错误信息:

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 resolve the situation:

The following packages have unmet dependencies:
 nvidia-driver-430 : Depends: libnvidia-gl-430 (= 430.40-0ubuntu0~gpu18.04.1) but it is not going to be installed
                     Depends: nvidia-dkms-430 (= 430.40-0ubuntu0~gpu18.04.1) but it is not going to be installed
                     Depends: nvidia-kernel-source-430 (= 430.40-0ubuntu0~gpu18.04.1) but it is not going to be installed
                     Depends: libnvidia-compute-430 (= 430.40-0ubuntu0~gpu18.04.1) but it is not going to be installed
                     Depends: nvidia-compute-utils-430 (= 430.40-0ubuntu0~gpu18.04.1) but it is not going to be installed
                     Depends: libnvidia-decode-430 (= 430.40-0ubuntu0~gpu18.04.1) but it is not going to be installed
                     Depends: libnvidia-encode-430 (= 430.40-0ubuntu0~gpu18.04.1) but it is not going to be installed
                     Depends: nvidia-utils-430 (= 430.40-0ubuntu0~gpu18.04.1) but it is not going to be installed
                     Depends: libnvidia-ifr1-430 (= 430.40-0ubuntu0~gpu18.04.1) but it is not going to be installed
                     Recommends: libnvidia-compute-430:i386 (= 430.40-0ubuntu0~gpu18.04.1)
                     Recommends: libnvidia-decode-430:i386 (= 430.40-0ubuntu0~gpu18.04.1)
                     Recommends: libnvidia-encode-430:i386 (= 430.40-0ubuntu0~gpu18.04.1)
                     Recommends: libnvidia-ifr1-430:i386 (= 430.40-0ubuntu0~gpu18.04.1)
E: Unable to correct problems, you have held broken packages.

答案1

您可以安装 Nvidia 430 驱动程序,而无需添加任何 PPA。

sudo apt 安装 nvidia-driver-430

https://packages.ubuntu.com/search?keywords=Nvidia&searchon=names&suite=bionic-updates§ion=all

相关内容