I try to install ros kinetic on a computer with Ubuntu 16.04 LTS. I have followed steps here. But, when I have tried to run the command rosdep update
, most of the time I get the following output:
reading in sources list data from /etc/ros/rosdep/sources.list.d
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml
Hit https://raw.githubusercontent.com/basler/pylon-ros-camera/master/pylon_camera/rosdep/pylon_sdk.yaml
Query rosdistro index https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml
Skip end-of-life distro "ardent"
Skip end-of-life distro "bouncy"
Skip end-of-life distro "crystal"
Skip end-of-life distro "dashing"
Skip end-of-life distro "eloquent"
Skip end-of-life distro "foxy"
Skip end-of-life distro "galactic"
Skip end-of-life distro "groovy"
add distro "humble"
ERROR: error loading sources list:
('The read operation timed out',)
Here is the content of the /etc/resolv.conf:
## Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.0.1
nameserver 8.8.8.8
nameserver 8.8.4.4
search home
What can I do to resolve this issue?
Things I have Tried:
- Running after switching to root user:
I have entered sudo su
command. When I have run the rosdep update
command, I got the same result except for this part:
Warning: running 'rosdep update' as root is not recommended.
You should run 'sudo rosdep fix-permissions' and invoke 'rosdep update' again without sudo.
- Switching to another Wifi network:
When I have tried after switching to another network, I got the same output.
- Installing ssl libraries:
I have installed some packages with the command apt-get -y install build-essential nghttp2 libnghttp2-dev libssl-dev
as the root user. But, again, I got the same output.
- Installing ca-certificates:
When I have run the command apt-get install ca-certificates
as the root user, I have seen that ca-certificates package has been already installed.
- Exporting SSL certificate file path:
When I run the rosdep update
command after entering the command export SSL_CERT_FILE=/usr/lib/ssl/certs/ca-certificates.crt
, I have seen the same output.
- Adding LD_LIBRARY_PATH to .bashrc:
When I have tried to run the rosdep update
command after adding the line export LD_LIBRARY_PATH=/user/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH
to .bashrc and sourcing the .bashrc file, I got the same output.
Note: I don’t use proxy servers for connecting to internet.