Issues about Ubuntu & ROS

2023-12-19 22:02:50

Q1

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 !=
E: The list of sources could not be read.
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 !=
E: The list of sources could not be read.

A1:

I checked my sources.list.d

the list:

cuda-10-0-local-10.0.130-410.48.list
cuda.list
cuda-ubuntu1804-x86_64.list
cuda-ubuntu1804-x86_64.list.save
cudnn-local-ubuntu1804-8.9.0.131.list
cudnn-local-ubuntu1804-8.9.0.131.list.save
deadsnakes-ubuntu-ppa-bionic.list
deadsnakes-ubuntu-ppa-bionic.list.save
gnome-terminator-ubuntu-ppa-bionic.list
gnome-terminator-ubuntu-ppa-bionic.list.save
microsoft-edge.list
ros-latest.list
ros-latest.list.save

These mean additional cudas make it conflicted.

这个错误是由于APT配置中的Signed-By选项对于同一源设置了冲突的值。这通常发生在你尝试从特定的源(在这种情况下是NVIDIA CUDA仓库)安装软件包时12。
解决这个问题的方法是删除冲突的密钥和源列表文件3。你可以通过以下命令来操作:
sudo rm /usr/share/keyrings/cuda-archive-keyring.gpg
sudo rm /etc/apt/sources.list.d/cuda.list

然后,你可以尝试再次运行sudo apt update来更新你的软件包列表。

文章来源:https://blog.csdn.net/qq_40837542/article/details/135091375
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。