日常笔记(4):Linux更新提示ros package存储库未更新

   这段时间在调试ROS数据融合相关问题,在下载sudo apt-get install ros-kinetic-bfl包是提示

Err:1 http://packages.ros.org/ros/ubuntu xenial/main amd64 ros-kinetic-bfl amd64 0.7.0-2xenial-20180809-134309-0800
  404  Not Found [IP: 64.50.233.100 80]
E: Failed to fetch http://packages.ros.org/ros/ubuntu/pool/main/r/ros-kinetic-bfl/ros-kinetic-bfl_0.7.0-2xenial-20180809-134309-0800_amd64.deb  404  Not Found [IP: 64.50.233.100 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

这是找不到amd64 ros-kinetic-bfl amd64 0.7.0-2xenial-20180809-134309-0800这个包,后来去官方网站看到是,包前几天是做过更新的

[PARENTDIR]	Parent Directory	 	-	 
[   ]	ros-kinetic-bfl_0.7.0-2xenial-20190607-165528-0800_amd64.deb	2019-06-07 21:03	205K	 
[   ]	ros-kinetic-bfl_0.7.0-2xenial-20190607-173908-0800_i386.deb	2019-06-07 21:48	216K	 
[   ]	ros-kinetic-bfl_0.7.0-2xenial-20190608-234544-0800_armhf.deb	2019-06-09 04:12	182K	 
[   ]	ros-kinetic-bfl_0.7.0-2xenial-20190609-001148-0800_arm64.deb	2019-06-09 04:39	190K	 
[   ]	ros-kinetic-bfl_0.7.0-2xenial.debian.tar.xz	2019-05-30 03:58	8.2K	 
[TXT]	ros-kinetic-bfl_0.7.0-2xenial.dsc	2019-05-30 03:58	948	 
[   ]	ros-kinetic-bfl_0.7.0.orig.tar.gz	2019-05-30 03:58	257K	 

然后我 sudo apt-get update 下我的Ubuntu,提示下面错误信息:

Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://packages.ros.org/ros/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F42ED6FBAB17C654
W: Failed to fetch http://packages.ros.org/ros/ubuntu/dists/xenial/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F42ED6FBAB17C654
W: Some index files failed to download. They have been ignored, or old ones used instead.

做了几次更新还是同一样的错误,提示我签名未更新的,难道不是系统自己更新索引的么....

好吧,由于任务要紧,不能坐以待毙,我想,ROS官方应该有更新,找到ROS官方安装ros的例程,重新更新下key,http://wiki.ros.org/kinetic/Installation/Ubuntu,我的是kinetic的。

sudo apt-key adv --keyserver'hkp://keyserver.ubuntu.com:80'-recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654

再 sudo apt-get update 就好了,后面安装bfl也是没问题的。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章