安装rose时sudo rosdep init 和 rosdep update 指令常见错误

问题1.sudo:rosdep:command not found  解决方法 sudo apt install python-rosdep

问题2.

    步骤1default sources list file already exists 解决方法  sudo rm /etc/ros/rosdep/sources.list.d/20-default.list(把报错的文件删掉)

    步骤2 重新sudo rosdep init  (一次就好)

问题3  cannot download default sources list from 解决办法   sudo c_rehash /etc/ssl/certs     sudo -E rosdep init

  rosdep update出问题  一般 sudo update  再 rosdep update  就行

你可能感兴趣的:(ros,Ubuntu)