the rosdep view is empty: call 'sudo rosdep init' and 'rosdep update'


修復ros錄制包的時候,執行某個命令,報這個錯誤,報錯的原因還不明白,暫時找到解決辦法,參考:https://blog.csdn.net/u010918541/article/details/50445415

 

1、sudo rm /etc/ros/rosdep/sources.list.d/20-default.list

2、sudo rosdep init

3、rosdep update 此處不可以加sudo

 

因為總會報錯,第三步重點是不加sudo可以解決

ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml]:

 

不一樣的地方是增加distro了,可以看出是更新了。

Skip end-of-life distro "ardent"
Skip end-of-life distro "bouncy"
Skip end-of-life distro "crystal"
Add distro "dashing"
Add distro "eloquent"
Add distro "foxy"
Skip end-of-life distro "groovy"
Skip end-of-life distro "hydro"
Skip end-of-life distro "indigo"
Skip end-of-life distro "jade"
Add distro "kinetic"
Skip end-of-life distro "lunar"
Add distro "melodic"
Add distro "noetic"
updated cache in /home/ht/.ros/rosdep/sources.cache
ERROR: Not all sources were able to be updated.

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM