在更新显卡驱动的时候无论是命令还是手动点都是显示报错的
sudo apt install nvidia-driver-535
报错信息为:
错误:18 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 nvidia-driver-535 amd64 535.146.02-0ubuntu0.20.04.1
404 Not Found [IP: 2620:2d:4002:1::101 80]
E: 无法下载 http://security.ubuntu.com/ubuntu/pool/restricted/n/nvidia-graphics-drivers-535/libnvidia-compute-535_535.146.02-0ubuntu0.20.04.1_amd64.deb 404 Not Found [IP: 2620:2d:4002:1::101 80]
可以尝试添加一个提供 NVIDIA 驱动程序的第三方 PPA(个人软件包存档)
sudo add-apt-repository ppa:graphics-drivers/ppa
中间记得按ENTER
更新
sudo apt update
然后安装显卡驱动,这个过程很慢,我也不懂为什么
sudo apt install nvidia-driver-535
重启
reboot
用命令查看显卡状态和版本已经看到成功了
nvidia-smi
标签:sudo,nvidia,apt,Ubuntu,535,显卡,驱动,ubuntu
From: https://blog.csdn.net/qq_60633193/article/details/136669959