Ubuntu 설치 ros 네트워크 속도 문제 소스 및 sudo rosdep init ERROR: 기본 소스 목록을 다운로드할 수 없습니다.

1683 단어 ros
환경 ubuntu16.04 ros kinetic

1.ros의 공식 소스 다운로드 속도가 매우 느리다


중과대의 원천을 추천하다
sudo sh -c 'echo "deb http://mirrors.ustc.edu.cn/ros/ubuntu/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'

2. sudo rosdep init 오류

ERROR: cannot download default sources list from:
https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/sources.list.d/20-default.list
Website may be down.

이 일련의 웹 주소를 복사해서 브라우저에 붙여넣으면 다음과 같은 텍스트 정보를 볼 수 있습니다
# os-specific listings first
yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml osx

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

# newer distributions (Groovy, Hydro, ...) must not be listed anymore, they are being fetched from the rosdistro index.yaml instead

/etc/ros/rosdep/sources에 있습니다.list.d 경로 아래 새 20-default.list 위의 텍스트 정보를 복사하여 텍스트에 붙여넣고 다음 단계를 수행합니다
rosdep update

참고http://wiki.ros.org/cn/kinetic/Installation/Ubuntu https://zhuanlan.zhihu.com/p/77483614

좋은 웹페이지 즐겨찾기