我在 sources.list.d 下有以下文件
goutham@goutham-11-11:/etc/apt/sources.list.d$ ls
cuda-ubuntu2204-12-3-local.list gazebo-stable.list google-chrome.list obsproject-ubuntu-obs-studio-jammy.list ros2.list ros.list ubuntu-esm-infra.list
gazebo.list git-core-ubuntu-ppa-jammy.list google-cloud-sdk.list pkgs-osrf-archive-keyring.gpg ros-latest.list ubuntu-esm-apps.list
当我尝试使用以下方法更新时: sudo apt update
我收到以下错误消息。
N: Ignoring file 'pkgs-osrf-archive-keyring.gpg' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Conflicting values set for option Signed-By regarding source http://packages.osrfoundation.org/gazebo/ubuntu-stable/ jammy: /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg != /usr/share/keyrings/gazebo-archive-keyring.gpg
E: The list of sources could not be read.
这背后的原因是什么,请在评论部分帮助我,而不要参考其他已发布的相同类型的问题,因为我不理解并且我对 Ubuntu 完全陌生。