E:与源 https://developer.download.nvidia.com/compute/cuda/repos/ 相关的选项 Signed-By 设置的值存在冲突

E:与源 https://developer.download.nvidia.com/compute/cuda/repos/ 相关的选项 Signed-By 设置的值存在冲突

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/*

相关内容