2021-06-22

Ubuntu16.04系统安装ROS时出现sudo rosdep init ERROR: default sources list file already exists: /etc/ros/rosdep/sources.list.d/20-default.list Please delete if you wish to re-initialize错误

在安装ROS过程中在执行sudo rosdep init时出现如下错误
ERROR: default sources list file already exists: /etc/ros/rosdep/sources.list.d/20-default.list Please delete if you wish to re-initialize
解决方法
秩序在终端执行下面的命令即可
sudo rm /etc/ros/rosdep/sources.list.d/20-default.list

你可能感兴趣的:(ros安装,sudo,rosdep,init出错,ubuntu)