我正在尝试nvidia driver 460
在我的笔记本电脑上安装Ubuntu 20.04
,但出现以下错误。
有人能帮我排除故障吗?我清除了驱动程序并尝试了不同的版本,但总是出现这个错误(我至少需要 418 版本,因为这是 Handbrake 的 GPU 支持的最低要求)。
user@pc:~$ sudo apt install nvidia-driver-460
[sudo] password for user:
Reading package lists... Done
Building dependency tree
Reading state information... Done
nvidia-driver-460 is already the newest version (460.39-0ubuntu0.20.04.1).
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
6 not fully installed or removed.
Need to get 0 B/10.6 MB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
dpkg: dependency problems prevent configuration of libglx-mesa0:i386:
libglx-mesa0:i386 depends on libgl1-mesa-dri; however:
Package libgl1-mesa-dri:i386 is not installed.
dpkg: error processing package libglx-mesa0:i386 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libglx0:i386:
libglx0:i386 depends on libglx-mesa0; however:
Package libglx-mesa0:i386 is not configured yet.
dpkg: error processing package libglx0:i386 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgl1:i386:
libgl1:i386 depends on libglx0 (= 1.3.2-1~ubuntu0.20.04.1); however:
Package libglx0:i386 is not configured yet.
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup er
ror from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because MaxReports is rea
ched already
dpkg: error processing package libgl1:i386 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libnvidia-ifr1-460:i386:
libnvidia-ifr1-460:i386 depends on libgl1; however:
Package libgl1:i386 is not configured yet.
dpkg: error processing package libnvidia-ifr1-460:i386 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libnvidia-fbc1-460:i386:
libnvidia-fbc1-460:i386 depends on libgl1; however:
Package libgl1:i386 is not configured yet.
dpkg: error processing package libnvidia-fbc1-460:i386 (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Errors were encountered while processing:
libglx-mesa0:i386
libglx0:i386
libgl1:i386
libnvidia-ifr1-460:i386
libnvidia-fbc1-460:i386
E: Sub-process /usr/bin/dpkg returned an error code (1)
任何帮助是极大的赞赏。
答案1
我不确定是不是因为内核版本。在最近的内核更新后,我也遇到了这种问题,但降级到较旧的内核版本解决了问题