18.04 - 更新到450后,一些nvidia驱动程序包总是要求升级

分享于 

4分钟阅读

ubuntu

  繁體

问题:

Ubuntu 18.04,通过apt install nvidia-driver-450升级到450版的驱动程序后,440驱动程序包会自动删除,工作一切正常,但是apt总是要求我升级这些包:


$ apt list --upgradable


Listing... Done


libnvidia-cfg1-450/unknown 450.36.06-0ubuntu1 amd64 [upgradable from: 450.36.06-0ubuntu1]


libnvidia-common-450/unknown 450.36.06-0ubuntu1 all [upgradable from: 450.36.06-0ubuntu1]


libnvidia-compute-450/unknown 450.36.06-0ubuntu1 amd64 [upgradable from: 450.36.06-0ubuntu1]


libnvidia-decode-450/unknown 450.36.06-0ubuntu1 amd64 [upgradable from: 450.36.06-0ubuntu1]


libnvidia-encode-450/unknown 450.36.06-0ubuntu1 amd64 [upgradable from: 450.36.06-0ubuntu1]


libnvidia-fbc1-450/unknown 450.36.06-0ubuntu1 amd64 [upgradable from: 450.36.06-0ubuntu1]


libnvidia-gl-450/unknown 450.36.06-0ubuntu1 amd64 [upgradable from: 450.36.06-0ubuntu1]


libnvidia-ifr1-450/unknown 450.36.06-0ubuntu1 amd64 [upgradable from: 450.36.06-0ubuntu1]


libxnvctrl0/unknown 450.36.06-0ubuntu1 amd64 [upgradable from: 450.36.06-0ubuntu1]


numix-icon-theme-circle/bionic,bionic 19.12.27+202006072001~ubuntu18.04.1 all [upgradable from: 19.12.27+202005141854~ubuntu18.04.1]


nvidia-dkms-450/unknown 450.36.06-0ubuntu1 amd64 [upgradable from: 450.36.06-0ubuntu1]


nvidia-kernel-source-450/unknown 450.36.06-0ubuntu1 amd64 [upgradable from: 450.36.06-0ubuntu1]



$ sudo apt-get dist-upgrade


Reading package lists... Done


Building dependency tree 


Reading state information... Done


Calculating upgrade... Done


The following packages will be upgraded:


 libnvidia-cfg1-450 libnvidia-common-450 libnvidia-compute-450 libnvidia-decode-450


 libnvidia-encode-450 libnvidia-fbc1-450 libnvidia-gl-450 libnvidia-ifr1-450 libxnvctrl0


 numix-icon-theme-circle nvidia-dkms-450 nvidia-kernel-source-450


12 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


Need to get 96.6 MB/96.7 MB of archives.


After this operation, 753 kB of additional disk space will be used.



我升级后,它仍然告诉我升级。

deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 / )


答案1:

这是CUDA存储库中的元数据问题,已解决。运行apt-get update,并重试。


答案2:

可以忽略这个升级消息,我输入了:


sudo apt-mark hold libnvidia-cfg1-450 libnvidia-common-450 libnvidia-compute-450 libnvidia-decode-450 libnvidia-encode-450 libnvidia-fbc1-450 libnvidia-gl-450 libnvidia-ifr1-450 libxnvctrl0 nvidia-dkms-450 nvidia-kernel-source-450




答案3

卸载nvidia设置,并重新安装。


sudo apt-get remove nvidia-settings


sudo apt-get autoremove


sudo apt-get autoclean


sudo apt-get install nvidia-settings





PAC  PACK  Drive  Updated  英伟达  
相关文章