ubuntu 12.04安装ROS 问题的解决

ROS安装文档:
	http://wiki.ros.org/hydro/Installation/Ubuntu
 
  
sudo apt-get update

这步时,有可能失败。

问题一:

W: 无法下载 gzip:/var/lib/apt/lists/partial/packages.ros.org_ros_ubuntu_dists_precise_main_binary-i386_Packages  Hash 校验和不符

解决方法:

开VPN


问题二:

 
  
W:Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_oneiric_universe_i18n_Translation-en  Encountered a section with no Package: header
E:Some index files failed to download. They have been ignored, or old ones used instead

解决方法:

sudo rm /var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_oneiric_universe_i18n_Translation-en

问题解决后,重新:
 
  
	sudo apt-get update

参考文章:
http://blog.csdn.net/blueslime/article/details/10816229
http://askubuntu.com/questions/149454/upgrade-from-11-04-to-11-10-getting-wfailed-to-fetch-gzip




你可能感兴趣的:(linux)