Ubuntu 14.04:无法安装 nvidia 驱动程序

Ubuntu 14.04:无法安装 nvidia 驱动程序

我有一台配备 nVidia 卡的华硕笔记本电脑。lspci 告诉我:

01:00.0 VGA compatible controller: NVIDIA Corporation GF119M [GeForce 610M] (rev a1)

我全新安装了 Ubuntu 14.04 LTS(64 位版本)。

默认情况下,Ubuntu 14.04 使用 nouveau 驱动程序,但它们运行得不太好(光标闪烁、3D 显示缓慢等),所以我想安装专有的 nvidia 驱动程序。

我进入系统设置 > 软件和更新 > 附加驱动程序。Ubuntu 向我推荐了以下选项:

附加驱动程序选项

无论我尝试选择什么(Nouveau 除外),在我单击“应用更改”后,它都会恢复为 Nouveau 而没有任何额外的反馈...

因此我尝试使用 apt 手动安装驱动程序:

$ sudo apt-get install nvidia-331
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-331 : Depends: lib32gcc1 but it is not going to be installed
              Depends: libc6-i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

如果我尝试手动安装提到的软件包,我会收到此错误:

$ sudo apt install lib32gcc1 libc6-i386
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:
 libc6-i386 : Depends: libc6 (= 2.19-0ubuntu5) but 2.19-0ubuntu6 is to be installed
E: Unable to correct problems, you have held broken packages.

我该如何修复此问题?

另外,您认为这是一个错误吗?(如果是的话,我会在 Launchpad 中提出它)

提前致谢!

答案1

好的,看来使用的更新服务器(台湾)不是最新的,导致依赖关系未得到满足和其他问题。

为了解决这个问题,我进入系统设置>软件和更新>Ubuntu 软件并选择“从主服务器下载”(之前是“从台湾服务器下载”)

现在可以安装专有驱动程序。

答案2

我也遇到了同样的错误信息。就我而言,这是因为我的 apt 缓存已损坏/过期。

因此,任何遇到同样错误的人请确保您的包定义是最新的。

apt-get update && apt-get install nvidia-331

相关内容