![E:与源 https://developer.download.nvidia.com/compute/cuda/repos/ 相关的选项 Signed-By 设置的值存在冲突](https://linux22.com/image/948452/E%EF%BC%9A%E4%B8%8E%E6%BA%90%20https%3A%2F%2Fdeveloper.download.nvidia.com%2Fcompute%2Fcuda%2Frepos%2F%20%E7%9B%B8%E5%85%B3%E7%9A%84%E9%80%89%E9%A1%B9%20Signed-By%20%E8%AE%BE%E7%BD%AE%E7%9A%84%E5%80%BC%E5%AD%98%E5%9C%A8%E5%86%B2%E7%AA%81.png)
Ubuntu 18.04
E: Conflicting values set for option Signed-By regarding source https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/ /: /usr/share/keyrings/cuda-archive-keyring.gpg !=
我的桌面卡在黑屏“文件系统检查”时,运行时出现上述错误
sudo apt-get remove --purge nvidia-*
请帮我解决这个问题
答案1
对我来说这有效
sed -i '/developer\.download\.nvidia\.com\/compute\/cuda\/repos/d' /etc/apt/sources.list.d/*
sed -i '/developer\.download\.nvidia\.com\/compute\/machine-learning\/repos/d' /etc/apt/sources.list.d/*