Can sudo rosdep init and rosdep update be done offline?
I am trying to build a ros package which actually during compilation is asking me to call 'sudo rosdep init'
and 'rosdep update'
. Both of these require the machine to be connected to an active internet so that the necessary repositories can be downloaded. But in my case its near to impossible for me to connect that system to internet. So i was looking for an offline workaround. Is that possible??
EDIT::
As suggested in the posts i tried downloading all the yaml files from the urls and stored them in local disk. In /etc/ros/rosdep/sources.list.d
i provided local path names to all the files. Then i tried running rosdep update and it shows "Hit file:///home/ros/Documents/ros
......." At last line its shows error for index.yaml file. I downloaded that file too and provided it with a local path. Still that error comes which i guess might be due to the rosdep update configuration to automatically look for index.yaml file on repositories.
Nonetheless the package which I was trying to compile still suggests me to run 'rosdep update'. The error says "Error: the rosdep view is empty: call 'sudo rosdep init' and 'rosdep update'
"
Not an answer, but:
if you're only doing this to be able to run
rosdep check
orrosdep install
, then I'm wondering what you'll do after we get past the current issue: dependencies will be .... installed using the internet, so that is going to fail as well.
Thats what i want to know. The error which i am facing, is it because of rosdep not getting updated? or the package i am trying to compile is having some dependency problem?
ok. So just to (further) avoid an xy-problem: what are you really trying to do? What is your end goal.
ok but should it be added as a new question? Actually i am trying to compile lsd_slam package which requires rosmake as catkin support is not there for the package. While compiling the package it is showing "
Error: the rosdep view is empty: call 'sudo rosdep init' and 'rosdep update
'"There are already many questions about
lsd_slam
on ROS Answers. If this is the only problem blocking you then we can continue with this question.yes right now during compilation of rosmake lsd_slam the only error associated is this one only. It says
"Failed to invoke /opt/ros/indigo/bin/rospack deps-manifests lsd_slam_viewer"
followed by"the rosdep view is empty: call 'sudo rosdep init' and 'rosdep update'"