Issues about Ubuntu & ROS

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来更新你的软件包列表。

你可能感兴趣的:(ROS,学习和理解,ubuntu,linux)