安装ROS Melodic
1 Installation
1.1 Configure your Ubuntu repositories
http://www.360doc.com/content/18/0417/15/54525756_746389833.shtml
2.2 Setup your sources.list
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
2.3 Set up your keys
sudo apt install curl # if you haven't already installed curl
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
如果出现“您希望继续执行吗? [Y/n] y 中止。”
再次执行,需要输入 [Y/n]时,输入 yes| 回车即可。
2.4 Installation
首先
sudo apt update
这里遇到了问题:
命中:1 http://archive.ubuntu.com/ubuntu bionic InRelease
命中:2 http://cn.archive.ubuntu.com/ubuntu bionic InRelease
命中:3 http://security.ubuntu.com/ubuntu bionic-security InRelease
命中:5 http://archive.canonical.com/ubuntu bionic InRelease
命中:6 http://cn.archive.ubuntu.com/ubuntu bionic-updates InRelease
获取:4 http://packages.ros.org/ros/ubuntu bionic InRelease [4,680 B]
命中:7 http://cn.archive.ubuntu.com/ubuntu bionic-backports InRelease
错误:4 http://packages.ros.org/ros/ubuntu bionic InRelease
下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics info@osrfoundation.org
命中:8 https://download.sublimetext.com apt/stable/ InRelease
已下载 4,680 B,耗时 22秒 (208 B/s)
正在读取软件包列表… 完成
正在分析软件包的依赖关系树
正在读取状态信息… 完成
有 531 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。
W: 校验数字签名时出错。此仓库未被更新,所以仍然使用此前的索引文件。GPG 错误:http://packages.ros.org/ros/ubuntu bionic InRelease: 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics info@osrfoundation.org
W: 无法下载 http://packages.ros.org/ros/ubuntu/dists/bionic/InRelease 下列签名无

最低0.47元/天 解锁文章
4万+

被折叠的 条评论
为什么被折叠?



