Sudo rosdep init & rosdep update failure
Hi All,
OS: Ubuntu 16.04 LTS Laptop: Macbook, running VM Fusion
My problem is about ROS installation and configuration - rosdep init and rosdep update
when I moved to Sudo rosdep init
and rosdep update
, i kept receiving errors.
I do searched a lot in the Internet and my solution is as below:
To solve sudo rosdep init issue as below.
cannot download default sources list from
raw.githubusercontent.com/ros/rosdistro/master/rosdep/sources.list.d/20-default.list
website may be down
my solution is to create 20-default.list
and its parent folder by myself. Then copy & paste the following content:
# os-specific listings first
yaml file:///home/wangyi/rosdistro/rosdep/osx-homebrew.yaml osx
# generic
yaml file:///home/wangyi/rosdistro/rosdep/base.yaml
yaml file:///home/wangyi/rosdistro/rosdep/python.yaml
yaml file:///home/wangyi/rosdistro/rosdep/ruby.yaml
gbpdistro file:///home/wangyi/rosdistro/releases/fuerte.yaml fuerte
# newer distributions (Groovy, Hydro, ...) must not be listed anymore, they are being fetched from the rosdistro index.yaml instead
the difference is i replace raw.githubusercontent by local address.
then i rosdep update again. things getting better but still away from success.
i have the following content in terminal by entering rosdep update:
wangyi@ubuntu:~$ rosdep update
reading in sources list data from /etc/ros/rosdep/sources.list.d
Hit file:///home/wangyi/rosdistro/rosdep/osx-homebrew.yaml
Hit file:///home/wangyi/rosdistro/rosdep/base.yaml
Hit file:///home/wangyi/rosdistro/rosdep/python.yaml
Hit file:///home/wangyi/rosdistro/rosdep/ruby.yaml
ERROR: unable to process source [file:///home/wangyi/rosdistro/releases/fuerte.yaml]:
Failed to download target platform data for gbpdistro:
<urlopen error no host given>
Query rosdistro index https:///home/wangyi/rosdistro/index-v4.yaml
ERROR: error loading sources list:
<urlopen error <urlopen error no host given> (https:///home/wangyi/rosdistro/index-v4.yaml)>