ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi

rosdep uses a source.list file (pretty much like apt does): On my system it's located here:

/etc/ros/rosdep/sources.list.d/20-default.list

In this .list file you can find several links to github-hosted yaml files.

  • Try creating the file by hand if it doesn't exist
  • Make the necessary changes in the sources.list file, and probably in the .yaml files, so rosdep update can work without Internet access...

Hi

rosdep uses a source.list file (pretty much like apt does): On my system it's located here:

/etc/ros/rosdep/sources.list.d/20-default.list

In this .list file you can find several links to github-hosted yaml files.

  • Try creating the file by hand if it doesn't exist
  • Make the necessary changes in the sources.list file, and probably in the .yaml files, so rosdep update can work without Internet access...

Edit: Here's the content of the file:

Yeah, sure. cat /etc/ros/rosdep/sources.list.d/20-default.list

# os-specific listings first
yaml https://github.com/ros/rosdistro/raw/master/rosdep/osx-homebrew.yaml osx
yaml https://github.com/ros/rosdistro/raw/master/rosdep/gentoo.yaml gentoo

# generic
yaml https://github.com/ros/rosdistro/raw/master/rosdep/base.yaml
yaml https://github.com/ros/rosdistro/raw/master/rosdep/python.yaml
yaml https://github.com/ros/rosdistro/raw/master/rosdep/ruby.yaml
gbpdistro https://github.com/ros/rosdistro/raw/master/releases/fuerte.yaml fuerte
gbpdistro https://github.com/ros/rosdistro/raw/master/releases/groovy.yaml groovy
gbpdistro https://github.com/ros/rosdistro/raw/master/releases/hydro.yaml hydro

For the yaml files, just fetch the files from github since they're too big to post here.

Hi

rosdep uses a source.list file (pretty much like apt does): On my system it's located here:

/etc/ros/rosdep/sources.list.d/20-default.list

In this .list file you can find several links to github-hosted yaml files.

  • Try creating the file by hand if it doesn't exist
  • Make the necessary changes in the sources.list file, and probably in the .yaml files, so rosdep update can work without Internet access...

Edit: Here's the content of the file:

Yeah, sure. file. cat /etc/ros/rosdep/sources.list.d/20-default.list

# os-specific listings first
yaml https://github.com/ros/rosdistro/raw/master/rosdep/osx-homebrew.yaml osx
yaml https://github.com/ros/rosdistro/raw/master/rosdep/gentoo.yaml gentoo

# generic
yaml https://github.com/ros/rosdistro/raw/master/rosdep/base.yaml
yaml https://github.com/ros/rosdistro/raw/master/rosdep/python.yaml
yaml https://github.com/ros/rosdistro/raw/master/rosdep/ruby.yaml
gbpdistro https://github.com/ros/rosdistro/raw/master/releases/fuerte.yaml fuerte
gbpdistro https://github.com/ros/rosdistro/raw/master/releases/groovy.yaml groovy
gbpdistro https://github.com/ros/rosdistro/raw/master/releases/hydro.yaml hydro

For the yaml files, just fetch the files from github since they're too big to post here.

Hi

rosdep uses a source.list file (pretty much like apt does): On my system it's located here:

/etc/ros/rosdep/sources.list.d/20-default.list

In this .list file you can find several links to github-hosted yaml files.

  • Try creating the file by hand if it doesn't exist
  • Make the necessary changes in the sources.list file, and probably in the .yaml files, so rosdep update can work without Internet access...

Edit: Here's the content of the file. cat /etc/ros/rosdep/sources.list.d/20-default.list

# os-specific listings first
yaml https://github.com/ros/rosdistro/raw/master/rosdep/osx-homebrew.yaml osx
yaml https://github.com/ros/rosdistro/raw/master/rosdep/gentoo.yaml gentoo

# generic
yaml https://github.com/ros/rosdistro/raw/master/rosdep/base.yaml
yaml https://github.com/ros/rosdistro/raw/master/rosdep/python.yaml
yaml https://github.com/ros/rosdistro/raw/master/rosdep/ruby.yaml
gbpdistro https://github.com/ros/rosdistro/raw/master/releases/fuerte.yaml fuerte
gbpdistro https://github.com/ros/rosdistro/raw/master/releases/groovy.yaml groovy
gbpdistro https://github.com/ros/rosdistro/raw/master/releases/hydro.yaml hydro

For the yaml files, just fetch the files from github since they're too big to post here.

Edit2 (I can't reply until someone else replies first): You're right, it looks like the gbpdistro lines are useless (rosdep update throws "Ignore legacy gbpdistro "<ros_distro_here>") (It's funny I have them since my setup is only two weeks old...)

Actually, the <ros_distro> specifics can be found in the __index.yaml__ file you linked. There:

[...]
hydro:
    distribution: hydro/distribution.yaml
    distribution_cache: http://ros.org/rosdistro/hydro-cache.yaml.gz
    [...]

But I'm not sure you'll need this since you won't have any Internet access to fetch the git sources (for the ROS packages).

From there, I see two options:

  • You trick rosdep, changing your /etc/hosts file and setting up a webserver (where you put the file rosdep tries to download) so it'll use yours and not try to access the Internet
  • You can try the command lines options (see Here) to enforce the update so rosdep is happy and then provides you the system dependencies management you need.