'rosdep init' error when running without internet
Hi I am trying to follow catkin tutorial for hydro. I realise 'sudo rosdep init' and rosdep update command need connection to internet repository. We have a local deb repository of ubuntu & ros in lab and are not connected directly to net. Is there a work around of this problem?
EDIT 2: I have created /etc/ros/rosdep/sources.list.d . In this directory I copied https://github.com/ros/rosdistro/tree... . I modified https URL with local URI as file:///hoe/rosdep/base.yaml etc. Other files are copied from https://github.com/ros/rosdistro/tree... . I have set 20-default.list properly. rosdep update can read from it. After generating HIT for listed yaml files, rosdep start looking for net with the following prompt
query rosdistro index
https://raw.github.com/ros/rosdistro/master/index.yaml
This file I have added as one of the yaml files! My current sources.list.d/20-default.list files have following contents
yaml file:///mnt/store/rosdep/osx-homebrew.yaml osx
#yaml https://github.com/ros/rosdistro/raw/master/rosdep/osx-homebrew.yaml osx
# generic
#yaml https://github.com/ros/rosdistro/raw/master/rosdep/base.yaml
yaml file:///mnt/store/rosdep/base.yaml
#yaml https://github.com/ros/rosdistro/raw/master/rosdep/python.yaml
yaml file:///mnt/store/rosdep/python.ymal
#gbpdistro https://github.com/ros/rosdistro/raw/master/releases/fuerte.yaml fuerte
I do not have any entry relataed to hydro which IMHO rosdep is trying to access.
This link https://github.com/ros/rosdistro/raw/... do not works! I do not know whether gbpdistro resolves this into an actual link? A fuerte.yaml is available at https://github.com/ros/rosdistro/tree... but nothing related to hydro or groovy. It is probably because in hydro rosdep is updated. There is a hint in 20-default.list, which read as follows :
newer distributions (Groovy, Hydro, ...) must not be listed anymore, they are being fetched from the rosdistro index.yaml instead
I have no idea how set it up.I need help in resolving this issue.
thanks prince