Original link: https://blog.csdn.net/weixin_41631106/article/details/105247090
Due to Python environment problems, uninstall and reinstall ros, sudo apt-get update reports an error
N: 忽略‘ros-latest.list122’(于目录‘/etc/apt/sources.list.d/’),鉴于它的文件扩展名无效
Solution:
sudo rm -f /etc/apt/sources.list.d/ros-latest.list122