无法更新 Nvidia 驱动程序,安装即将结束时出现错误

无法更新 Nvidia 驱动程序,安装即将结束时出现错误

我刚刚获得 Ubuntu(第一次使用 Ubuntu,所以请描述得非常详细)。我认为我的 Nvida 更新存在问题,它不允许我更新它。这是更新管理器 NVIDIA 二进制 xorg 驱动程序、内核模块和 VDPAU 库中更新的名称。当我尝试安装它时,它开始正常,但快结束时我收到一个标题为“包操作失败”的窗口

详细信息

   installArchives() failed: Setting up nvidia-current (295.40-0ubuntu1) ...
update-initramfs: deferring update (trigger activated)
INFO:Enable nvidia-current
DEBUG:Parsing /usr/share/nvidia-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/nvidia-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/nvidia-common/quirks/lenovo_thinkpad
DEBUG:Processing quirk Latitude E6530
DEBUG:Failure to match Gigabyte Technology Co., Ltd. with Dell Inc.
DEBUG:Quirk doesn't match
DEBUG:Processing quirk ThinkPad T420s
DEBUG:Failure to match Gigabyte Technology Co., Ltd. with LENOVO
DEBUG:Quirk doesn't match
Removing old nvidia-current-295.40 DKMS files...
Loading new nvidia-current-295.40 DKMS files...
Error! DKMS tree already contains: nvidia-current-295.40
You cannot add the same module/version combo more than once.
dpkg: error processing nvidia-current (--configure):
 subprocess installed post-installation script returned error exit status 3
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.2.0-31-generic
Warning: No support for locale: en_US.utf8
Errors were encountered while processing:
 nvidia-current
Error in function: 
Setting up nvidia-current (295.40-0ubuntu1) ...
update-initramfs: deferring update (trigger activated)
INFO:Enable nvidia-current
DEBUG:Parsing /usr/share/nvidia-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/nvidia-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/nvidia-common/quirks/lenovo_thinkpad
DEBUG:Processing quirk Latitude E6530
DEBUG:Failure to match Gigabyte Technology Co., Ltd. with Dell Inc.
DEBUG:Quirk doesn't match
DEBUG:Processing quirk ThinkPad T420s
DEBUG:Failure to match Gigabyte Technology Co., Ltd. with LENOVO
DEBUG:Quirk doesn't match
Removing old nvidia-current-295.40 DKMS files...
Loading new nvidia-current-295.40 DKMS files...
Error! DKMS tree already contains: nvidia-current-295.40
You cannot add the same module/version combo more than once.
dpkg: error processing nvidia-current (--configure):
 subprocess installed post-installation script returned error exit status 3
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.2.0-31-generic
Warning: No support for locale: en_US.utf8

答案1

我遇到了完全相同的问题,但使用 sudo apt-get install -f 或 sudo apt-get update 无法删除它。我按照说明操作这里用于清除 NVidia 驱动程序,效果很好。您可能想尝试同样的事情。

相关内容