ROS : unable to process source ; urlopen error timed out

jeremyma@jeremyma-virtual-machine:~$ sudo rosdep init
Wrote /etc/ros/rosdep/sources.list.d/20-default.list
Recommended: please run
rosdep update

jeremyma@jeremyma-virtual-machine:~$ rosdep update
reading in sources list data from /etc/ros/rosdep/sources.list.d
ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml]:
(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
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”
Add distro “crystal”
Add distro “dashing”
Add distro “eloquent”
Skip end-of-life distro “groovy”
Skip end-of-life distro “hydro”
Skip end-of-life distro “indigo”
Skip end-of-life distro “jade”
Add distro “kinetic”
Skip end-of-life distro “lunar”
Add distro “melodic”
Add distro “noetic”
updated cache in /home/jeremyma/.ros/rosdep/sources.cache
ERROR: Not all sources were able to be updated.
[[[
ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml]:
(https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml)

]]]

jeremyma@jeremyma-virtual-machine:~$ sudo apt-get update
命中:1 http://cn.archive.ubuntu.com/ubuntu xenial InRelease
命中:2 http://packages.ros.org/ros/ubuntu trusty InRelease
获取:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
获取:4 http://cn.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
命中:5 https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/ubuntu xenial InRelease
命中:6 https://packagecloud.io/github/git-lfs/ubuntu xenial InRelease
忽略:4 http://cn.archive.ubuntu.com/ubuntu xenial-updates InRelease
获取:7 http://cn.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
获取:8 http://cn.archive.ubuntu.com/ubuntu xenial-updates Release [108 kB]
获取:9 http://cn.archive.ubuntu.com/ubuntu xenial-updates Release.gpg [916 B]
忽略:3 http://security.ubuntu.com/ubuntu xenial-security InRelease
获取:10 http://security.ubuntu.com/ubuntu xenial-security Release [108 kB]
获取:11 http://security.ubuntu.com/ubuntu xenial-security Release.gpg [916 B]
已下载 325 kB,耗时 2分 59秒 (1,811 B/s)
正在读取软件包列表… 完成

jeremyma@jeremyma-virtual-machine:~$ sudo rosdep init
ERROR: default sources list file already exists:
/etc/ros/rosdep/sources.list.d/20-default.list
Please delete if you wish to re-initialize

jeremyma@jeremyma-virtual-machine:~$ rosdep update
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
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”
Add distro “crystal”
Add distro “dashing”
Add distro “eloquent”
Skip end-of-life distro “groovy”
Skip end-of-life distro “hydro”
Skip end-of-life distro “indigo”
Skip end-of-life distro “jade”
Add distro “kinetic”
Skip end-of-life distro “lunar”
Add distro “melodic”
Add distro “noetic”
updated cache in /home/jeremyma/.ros/rosdep/sources.cache

echo "source /opt/ros/indigo/setup.bash" >> ~/.bashrc  
source ~/.bashrc  

jeremyma@jeremyma-virtual-machine:~$ roscore
… logging to /home/jeremyma/.ros/log/c2150816-f245-11e9-966d-000c296d6763/roslaunch-jeremyma-virtual-machine-51987.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://jeremyma-virtual-machine:41693/
ros_comm version 1.11.16
**SUMMARY
========
*
PARAMETERS

  • /rosdistro: Debian
  • /rosversion: 1.11.16
    NODES
    auto-starting new master
    process[master]: started with pid [52002]
    ROS_MASTER_URI=http://jeremyma-virtual-machine:11311/
    setting /run_id to c2150816-f245-11e9-966d-000c296d6763
    process[rosout-1]: started with pid [52015]
    started core service [/rosout]*
  • 3
    点赞
  • 10
    收藏
    觉得还不错? 一键收藏
  • 3
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值