问题描述:
sudo apt-get update 报错:
W: The repository 'http://ppa.launchpad.net/deb-rob/ros-trusty/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/deb-rob/ros-trusty/ubuntu/dists/xenial/main/binary-amd64/Packages 404 Not Found [IP: 91.189.95.85 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
解决方法:将对应的ppa删除
(1)切换到对应的ppa目录
cd /etc/apt/sources.list.d
(2)在该目录下ls,即可以看到对应的无法下载的deb-rob-ubuntu-ros-trusty-xenial.list,删除该.list即可(安全起见,可以进行添加后缀.bak的备份)
sudo mv deb-rob-ubuntu-ros-trusty-xenial.list deb-rob-ubuntu-ros-trusty-xeni