需要用到的网站:
ipaddress.com
需要自己查阅:
然后可以尝试ping一下如下:
IPv4和IPv6都支持的
Microsoft Windows [版本 10.0.22572.201]
(c) Microsoft Corporation。保留所有权利。C:\Users\zhangrelay>ping 185.199.108.133正在 Ping 185.199.108.133 具有 32 字节的数据:
来自 185.199.108.133 的回复: 字节=32 时间=113ms TTL=49
来自 185.199.108.133 的回复: 字节=32 时间=97ms TTL=49
来自 185.199.108.133 的回复: 字节=32 时间=93ms TTL=49
请求超时。185.199.108.133 的 Ping 统计信息:数据包: 已发送 = 4,已接收 = 3,丢失 = 1 (25% 丢失),
往返行程的估计时间(以毫秒为单位):最短 = 93ms,最长 = 113ms,平均 = 101msC:\Users\zhangrelay>ping 185.199.109.133正在 Ping 185.199.109.133 具有 32 字节的数据:
来自 185.199.109.133 的回复: 字节=32 时间=111ms TTL=49
来自 185.199.109.133 的回复: 字节=32 时间=86ms TTL=49
来自 185.199.109.133 的回复: 字节=32 时间=80ms TTL=49
请求超时。185.199.109.133 的 Ping 统计信息:数据包: 已发送 = 4,已接收 = 3,丢失 = 1 (25% 丢失),
往返行程的估计时间(以毫秒为单位):最短 = 80ms,最长 = 111ms,平均 = 92msC:\Users\zhangrelay>ping 185.199.110.133正在 Ping 185.199.110.133 具有 32 字节的数据:
请求超时。
来自 185.199.110.133 的回复: 字节=32 时间=119ms TTL=49
来自 185.199.110.133 的回复: 字节=32 时间=111ms TTL=49
来自 185.199.110.133 的回复: 字节=32 时间=101ms TTL=49185.199.110.133 的 Ping 统计信息:数据包: 已发送 = 4,已接收 = 3,丢失 = 1 (25% 丢失),
往返行程的估计时间(以毫秒为单位):最短 = 101ms,最长 = 119ms,平均 = 110msC:\Users\zhangrelay>ping 185.199.111.133正在 Ping 185.199.111.133 具有 32 字节的数据:
来自 185.199.111.133 的回复: 字节=32 时间=127ms TTL=49
来自 185.199.111.133 的回复: 字节=32 时间=99ms TTL=49
来自 185.199.111.133 的回复: 字节=32 时间=285ms TTL=49
来自 185.199.111.133 的回复: 字节=32 时间=88ms TTL=49185.199.111.133 的 Ping 统计信息:数据包: 已发送 = 4,已接收 = 4,丢失 = 0 (0% 丢失),
往返行程的估计时间(以毫秒为单位):最短 = 88ms,最长 = 285ms,平均 = 149msC:\Users\zhangrelay>ping 2606:50c0:8000::154正在 Ping 2606:50c0:8000::154 具有 32 字节的数据:
来自 2606:50c0:8000::154 的回复: 时间=155ms
来自 2606:50c0:8000::154 的回复: 时间=137ms
来自 2606:50c0:8000::154 的回复: 时间=157ms
来自 2606:50c0:8000::154 的回复: 时间=174ms2606:50c0:8000::154 的 Ping 统计信息:数据包: 已发送 = 4,已接收 = 4,丢失 = 0 (0% 丢失),
往返行程的估计时间(以毫秒为单位):最短 = 137ms,最长 = 174ms,平均 = 155msC:\Users\zhangrelay>ping 2606:50c0:8001::154正在 Ping 2606:50c0:8001::154 具有 32 字节的数据:
来自 2606:50c0:8001::154 的回复: 时间=126ms
来自 2606:50c0:8001::154 的回复: 时间=120ms
来自 2606:50c0:8001::154 的回复: 时间=113ms
来自 2606:50c0:8001::154 的回复: 时间=110ms2606:50c0:8001::154 的 Ping 统计信息:数据包: 已发送 = 4,已接收 = 4,丢失 = 0 (0% 丢失),
往返行程的估计时间(以毫秒为单位):最短 = 110ms,最长 = 126ms,平均 = 117msC:\Users\zhangrelay>ping 2606:50c0:8002::154正在 Ping 2606:50c0:8002::154 具有 32 字节的数据:
来自 2606:50c0:8002::154 的回复: 时间=133ms
请求超时。
来自 2606:50c0:8002::154 的回复: 时间=134ms
来自 2606:50c0:8002::154 的回复: 时间=120ms2606:50c0:8002::154 的 Ping 统计信息:数据包: 已发送 = 4,已接收 = 3,丢失 = 1 (25% 丢失),
往返行程的估计时间(以毫秒为单位):最短 = 120ms,最长 = 134ms,平均 = 129msC:\Users\zhangrelay>ping 2606:50c0:8003::154正在 Ping 2606:50c0:8003::154 具有 32 字节的数据:
来自 2606:50c0:8003::154 的回复: 时间=120ms
请求超时。
请求超时。
来自 2606:50c0:8003::154 的回复: 时间=115ms2606:50c0:8003::154 的 Ping 统计信息:数据包: 已发送 = 4,已接收 = 2,丢失 = 2 (50% 丢失),
往返行程的估计时间(以毫秒为单位):最短 = 115ms,最长 = 120ms,平均 = 117msC:\Users\zhangrelay>
找到hosts位置并修改。
185.199.108.133 raw.githubusercontent.com
对应蓝桥云课,不能用gedit,而是需要用vim
更新出错如下:
安装:
sudo apt install curl
更新密钥:
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
换个方式吧?
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1mQINBFzvJpYBEADY8l1YvO7iYW5gUESyzsTGnMvVUmlV3XarBaJz9bGRmgPXh7jc
VFrQhE0L/HV7LOfoLI9H2GWYyHBqN5ERBlcA8XxG3ZvX7t9nAZPQT2Xxe3GT3tro
u5oCR+SyHN9xPnUwDuqUSvJ2eqMYb9B/Hph3OmtjG30jSNq9kOF5bBTk1hOTGPH4
K/AY0jzT6OpHfXU6ytlFsI47ZKsnTUhipGsKucQ1CXlyirndZ3V3k70YaooZ55rG
aIoAWlx2H0J7sAHmqS29N9jV9mo135d+d+TdLBXI0PXtiHzE9IPaX+ctdSUrPnp+
TwR99lxglpIG6hLuvOMAaxiqFBB/Jf3XJ8OBakfS6nHrWH2WqQxRbiITl0irkQoz
pwNEF2Bv0+Jvs1UFEdVGz5a8xexQHst/RmKrtHLct3iOCvBNqoAQRbvWvBhPjO/p
V5cYeUljZ5wpHyFkaEViClaVWqa6PIsyLqmyjsruPCWlURLsQoQxABcL8bwxX7UT
hM6CtH6tGlYZ85RIzRifIm2oudzV5l+8oRgFr9yVcwyOFT6JCioqkwldW52P1pk/
/SnuexC6LYqqDuHUs5NnokzzpfS6QaWfTY5P5tz4KHJfsjDIktly3mKVfY0fSPVV
okdGpcUzvz2hq1fqjxB6MlB/1vtk0bImfcsoxBmF7H+4E9ZN1sX/tSb0KQARAQAB
tCZPcGVuIFJvYm90aWNzIDxpbmZvQG9zcmZvdW5kYXRpb24ub3JnPokCVAQTAQgA
PgIbAwULCQgHAgYVCgkICwIEFgIDAQIeAQIXgBYhBMHPbjHmut6IaLFytPQu1vur
F8ZUBQJgsdhRBQkLTMW7AAoJEPQu1vurF8ZUTMwP/3f7EkOPIFjUdRmpNJ2db4iB
RQu5b2SJRG+KIdbvQBzKUBMV6/RUhEDPjhXZI3zDevzBewvAMKkqs2Q1cWo9WV7Z
PyTkvSyey/Tjn+PozcdvzkvrEjDMftIk8E1WzLGq7vnPLZ1q/b6Vq4H373Z+EDWa
DaDwW72CbCBLWAVtqff80CwlI2x8fYHKr3VBUnwcXNHR4+nRABfAWnaU4k+oTshC
Qucsd8vitNfsSXrKuKyz91IRHRPnJjx8UvGU4tRGfrHkw1505EZvgP02vXeRyWBR
fKiL1vGy4tCSRDdZO3ms2J2m08VPv65HsHaWYMnO+rNJmMZj9d9JdL/9GRf5F6U0
quoIFL39BhUEvBynuqlrqistnyOhw8W/IQy/ymNzBMcMz6rcMjMwhkgm/LNXoSD1
1OrJu4ktQwRhwvGVarnB8ihwjsTxZFylaLmFSfaA+OAlOqCLS1OkIVMzjW+Ul6A6
qjiCEUOsnlf4CGlhzNMZOx3low6ixzEqKOcfECpeIj80a2fBDmWkcAAjlHu6VBhA
TUDG9e2xKLzV2Z/DLYsb3+n9QW7KO0yZKfiuUo6AYboAioQKn5jh3iRvjGh2Ujpo
22G+oae3PcCc7G+z12j6xIY709FQuA49dA2YpzMda0/OX4LP56STEveDRrO+CnV6
WE+F5FaIKwb72PL4rLi4
=i0tj
-----END PGP PUBLIC KEY BLOCK-----
将上面这串密码另存为ros.asc,然后手工导入吧:
接着,使用如下命令:
sudo apt-key add ros.asc
到这里,貌似已经解决了???
太慢了,将其替换为国内源。
sudo sh -c '. /etc/lsb-release && echo "deb http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu/ `lsb_release -cs` main" > /etc/apt/sources.list.d/ros-latest.list'
看效果?
shiyanlou:~/ $ sudo vim /etc/hosts [22:01:49]
shiyanlou:~/ $ sudo vim /etc/hosts [22:04:10]
shiyanlou:~/ $ sudo vim /etc/hosts [22:04:25]
shiyanlou:~/ $ sudo apt update [22:06:03]
\u547d\u4e2d:1 http://mirrors.cloud.aliyuncs.com/ubuntu xenial InRelease
\u83b7\u53d6:2 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates InRelease [99.8 kB]
\u83b7\u53d6:3 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security InRelease [99.8 kB]
\u83b7\u53d6:4 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates/main Sources [665 kB]
\u83b7\u53d6:5 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates/universe Sources [548 kB]
\u83b7\u53d6:6 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates/main amd64 Packages [2,560 kB]
\u83b7\u53d6:7 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates/universe amd64 Packages [1,544 kB]
\u83b7\u53d6:8 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security/main Sources [311 kB]
\u83b7\u53d6:9 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security/universe Sources [256 kB]
\u83b7\u53d6:10 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security/main amd64 Packages [2,051 kB]
\u83b7\u53d6:11 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security/universe amd64 Packages [984 kB]
\u83b7\u53d6:12 http://packages.ros.org/ros/ubuntu xenial InRelease [4,692 B]
\u9519\u8bef:12 http://packages.ros.org/ros/ubuntu xenial InRelease \u7531\u4e8e\u6ca1\u6709\u516c\u94a5\uff0c\u65e0\u6cd5\u9a8c\u8bc1\u4e0b\u5217\u7b7e\u540d\uff1a NO_PUBKEY F42ED6FBAB17C654
\u83b7\u53d6:13 http://packages.ros.org/ros2/ubuntu xenial InRelease [4,668 B]
\u9519\u8bef:13 http://packages.ros.org/ros2/ubuntu xenial InRelease\u7531\u4e8e\u6ca1\u6709\u516c\u94a5\uff0c\u65e0\u6cd5\u9a8c\u8bc1\u4e0b\u5217\u7b7e\u540d\uff1a NO_PUBKEY F42ED6FBAB17C654
\u5df2\u4e0b\u8f7d 9,129 kB\uff0c\u8017\u65f6 3\u79d2 (2,604 kB/s)
\u6b63\u5728\u8bfb\u53d6\u8f6f\u4ef6\u5305\u5217\u8868... \u5b8c\u6210
\u6b63\u5728\u5206\u6790\u8f6f\u4ef6\u5305\u7684\u4f9d\u8d56\u5173\u7cfb\u6811
\u6b63\u5728\u8bfb\u53d6\u72b6\u6001\u4fe1\u606f... \u5b8c\u6210
\u6709 423 \u4e2a\u8f6f\u4ef6\u5305\u53ef\u4ee5\u5347\u7ea7\u3002\u8bf7\u6267\u884c \u2018apt list --upgradable\u2019 \u6765\u67e5\u770b\u5b83\u4eec\u3002
W: \u6821\u9a8c\u6570\u5b57\u7b7e\u540d\u65f6\u51fa\u9519\u3002\u6b64\u4ed3\u5e93\u672a\u88ab\u66f4\u65b0\uff0c\u6240\u4ee5\u4ecd\u7136\u4f7f\u7528\u6b64\u524d\u7684\u7d22\u5f15\u6587\u4ef6\u3002GPG \u9519\u8bef\uff1ahttp://packages.ros.org/ros/ubuntu xenial InRelease: \u7531\u4e8e\u6ca1\u6709\u516c\u94a5\uff0c\u65e0\u6cd5\u9a8c\u8bc1\u4e0b\u5217\u7b7e\u540d\uff1a NO_PUBKEY F42ED6FBAB17C654
W: \u6821\u9a8c\u6570\u5b57\u7b7e\u540d\u65f6\u51fa\u9519\u3002\u6b64\u4ed3\u5e93\u672a\u88ab\u66f4\u65b0\uff0c\u6240\u4ee5\u4ecd\u7136\u4f7f\u7528\u6b64\u524d\u7684\u7d22\u5f15\u6587\u4ef6\u3002GPG \u9519\u8bef\uff1ahttp://packages.ros.org/ros2/ubuntu xenial InRelease: \u7531\u4e8e\u6ca1\u6709\u516c\u94a5\uff0c\u65e0\u6cd5\u9a8c\u8bc1\u4e0b\u5217\u7b7e\u540d\uff1a NO_PUBKEY F42ED6FBAB17C654
W: \u65e0\u6cd5\u4e0b\u8f7d http://packages.ros.org/ros/ubuntu/dists/xenial/InRelease \u7531\u4e8e\u6ca1\u6709\u516c\u94a5\uff0c\u65e0\u6cd5\u9a8c\u8bc1\u4e0b\u5217\u7b7e\u540d\uff1a NO_PUBKEY F42ED6FBAB17C654
W: \u65e0\u6cd5\u4e0b\u8f7d http://packages.ros.org/ros2/ubuntu/dists/xenial/InRelease \u7531\u4e8e\u6ca1\u6709\u516c\u94a5\uff0c\u65e0\u6cd5\u9a8c\u8bc1\u4e0b\u5217\u7b7e\u540d\uff1a NO_PUBKEY F42ED6FBAB17C654
W: \u90e8\u5206\u7d22\u5f15\u6587\u4ef6\u4e0b\u8f7d\u5931\u8d25\u3002\u5982\u679c\u5ffd\u7565\u5b83\u4eec\uff0c\u90a3\u5c06\u8f6c\u800c\u4f7f\u7528\u65e7\u7684\u7d22\u5f15\u6587\u4ef6\u3002
shiyanlou:~/ $ sudo apt update [22:06:15]
\u547d\u4e2d:1 http://mirrors.cloud.aliyuncs.com/ubuntu xenial InRelease
\u547d\u4e2d:2 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates InRelease
\u547d\u4e2d:3 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security InRelease
\u83b7\u53d6:4 http://packages.ros.org/ros/ubuntu xenial InRelease [4,692 B]
\u9519\u8bef:4 http://packages.ros.org/ros/ubuntu xenial InRelease\u7531\u4e8e\u6ca1\u6709\u516c\u94a5\uff0c\u65e0\u6cd5\u9a8c\u8bc1\u4e0b\u5217\u7b7e\u540d\uff1a NO_PUBKEY F42ED6FBAB17C654
\u83b7\u53d6:5 http://packages.ros.org/ros2/ubuntu xenial InRelease [4,668 B]
\u9519\u8bef:5 http://packages.ros.org/ros2/ubuntu xenial InRelease\u7531\u4e8e\u6ca1\u6709\u516c\u94a5\uff0c\u65e0\u6cd5\u9a8c\u8bc1\u4e0b\u5217\u7b7e\u540d\uff1a NO_PUBKEY F42ED6FBAB17C654
\u5df2\u4e0b\u8f7d 9,360 B\uff0c\u8017\u65f6 2\u79d2 (3,868 B/s)
\u6b63\u5728\u8bfb\u53d6\u8f6f\u4ef6\u5305\u5217\u8868... \u5b8c\u6210
\u6b63\u5728\u5206\u6790\u8f6f\u4ef6\u5305\u7684\u4f9d\u8d56\u5173\u7cfb\u6811
\u6b63\u5728\u8bfb\u53d6\u72b6\u6001\u4fe1\u606f... \u5b8c\u6210
\u6709 423 \u4e2a\u8f6f\u4ef6\u5305\u53ef\u4ee5\u5347\u7ea7\u3002\u8bf7\u6267\u884c \u2018apt list --upgradable\u2019 \u6765\u67e5\u770b\u5b83\u4eec\u3002
W: \u6821\u9a8c\u6570\u5b57\u7b7e\u540d\u65f6\u51fa\u9519\u3002\u6b64\u4ed3\u5e93\u672a\u88ab\u66f4\u65b0\uff0c\u6240\u4ee5\u4ecd\u7136\u4f7f\u7528\u6b64\u524d\u7684\u7d22\u5f15\u6587\u4ef6\u3002GPG \u9519\u8bef\uff1ahttp://packages.ros.org/ros/ubuntu xenial InRelease: \u7531\u4e8e\u6ca1\u6709\u516c\u94a5\uff0c\u65e0\u6cd5\u9a8c\u8bc1\u4e0b\u5217\u7b7e\u540d\uff1a NO_PUBKEY F42ED6FBAB17C654
W: \u6821\u9a8c\u6570\u5b57\u7b7e\u540d\u65f6\u51fa\u9519\u3002\u6b64\u4ed3\u5e93\u672a\u88ab\u66f4\u65b0\uff0c\u6240\u4ee5\u4ecd\u7136\u4f7f\u7528\u6b64\u524d\u7684\u7d22\u5f15\u6587\u4ef6\u3002GPG \u9519\u8bef\uff1ahttp://packages.ros.org/ros2/ubuntu xenial InRelease: \u7531\u4e8e\u6ca1\u6709\u516c\u94a5\uff0c\u65e0\u6cd5\u9a8c\u8bc1\u4e0b\u5217\u7b7e\u540d\uff1a NO_PUBKEY F42ED6FBAB17C654
W: \u65e0\u6cd5\u4e0b\u8f7d http://packages.ros.org/ros/ubuntu/dists/xenial/InRelease \u7531\u4e8e\u6ca1\u6709\u516c\u94a5\uff0c\u65e0\u6cd5\u9a8c\u8bc1\u4e0b\u5217\u7b7e\u540d\uff1a NO_PUBKEY F42ED6FBAB17C654
W: \u65e0\u6cd5\u4e0b\u8f7d http://packages.ros.org/ros2/ubuntu/dists/xenial/InRelease \u7531\u4e8e\u6ca1\u6709\u516c\u94a5\uff0c\u65e0\u6cd5\u9a8c\u8bc1\u4e0b\u5217\u7b7e\u540d\uff1a NO_PUBKEY F42ED6FBAB17C654
W: \u90e8\u5206\u7d22\u5f15\u6587\u4ef6\u4e0b\u8f7d\u5931\u8d25\u3002\u5982\u679c\u5ffd\u7565\u5b83\u4eec\uff0c\u90a3\u5c06\u8f6c\u800c\u4f7f\u7528\u65e7\u7684\u7d22\u5f15\u6587\u4ef6\u3002
shiyanlou:~/ $ sudo apt install curl [22:06:22]
\u6b63\u5728\u8bfb\u53d6\u8f6f\u4ef6\u5305\u5217\u8868... \u5b8c\u6210
\u6b63\u5728\u5206\u6790\u8f6f\u4ef6\u5305\u7684\u4f9d\u8d56\u5173\u7cfb\u6811
\u6b63\u5728\u8bfb\u53d6\u72b6\u6001\u4fe1\u606f... \u5b8c\u6210
\u5c06\u4f1a\u540c\u65f6\u5b89\u88c5\u4e0b\u5217\u8f6f\u4ef6\uff1alibcurl3-gnutls
\u4e0b\u5217\u8f6f\u4ef6\u5305\u5c06\u88ab\u5347\u7ea7\uff1acurl libcurl3-gnutls
\u5347\u7ea7\u4e86 2 \u4e2a\u8f6f\u4ef6\u5305\uff0c\u65b0\u5b89\u88c5\u4e86 0 \u4e2a\u8f6f\u4ef6\u5305\uff0c\u8981\u5378\u8f7d 0 \u4e2a\u8f6f\u4ef6\u5305\uff0c\u6709 421 \u4e2a\u8f6f\u4ef6\u5305\u672a\u88ab\u5347\u7ea7\u3002
\u9700\u8981\u4e0b\u8f7d 328 kB \u7684\u5f52\u6863\u3002
\u89e3\u538b\u7f29\u540e\u4f1a\u6d88\u8017 14.3 kB \u7684\u989d\u5916\u7a7a\u95f4\u3002
\u60a8\u5e0c\u671b\u7ee7\u7eed\u6267\u884c\u5417\uff1f [Y/n] y
\u83b7\u53d6:1 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates/main amd64 curl amd64 7.47.0-1ubuntu2.19 [139 kB]
\u83b7\u53d6:2 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates/main amd64 libcurl3-gnutls amd64 7.47.0-1ubuntu2.19 [189 kB]
\u5df2\u4e0b\u8f7d 328 kB\uff0c\u8017\u65f6 0\u79d2 (4,069 kB/s) (\u6b63\u5728\u8bfb\u53d6\u6570\u636e\u5e93 ... \u7cfb\u7edf\u5f53\u524d\u5171\u5b89\u88c5\u6709 185892 \u4e2a\u6587\u4ef6\u548c\u76ee\u5f55\u3002)
\u6b63\u51c6\u5907\u89e3\u5305 .../curl_7.47.0-1ubuntu2.19_amd64.deb ...
\u6b63\u5728\u5c06 curl (7.47.0-1ubuntu2.19) \u89e3\u5305\u5230 (7.47.0-1ubuntu2.8) \u4e0a ...
\u6b63\u51c6\u5907\u89e3\u5305 .../libcurl3-gnutls_7.47.0-1ubuntu2.19_amd64.deb ...
\u6b63\u5728\u5c06 libcurl3-gnutls:amd64 (7.47.0-1ubuntu2.19) \u89e3\u5305\u5230 (7.47.0-1ubuntu2.8) \u4e0a ...
\u6b63\u5728\u5904\u7406\u7528\u4e8e man-db (2.7.5-1) \u7684\u89e6\u53d1\u5668 ...
\u6b63\u5728\u5904\u7406\u7528\u4e8e libc-bin (2.23-0ubuntu10) \u7684\u89e6\u53d1\u5668 ...
\u6b63\u5728\u8bbe\u7f6e libcurl3-gnutls:amd64 (7.47.0-1ubuntu2.19) ...
\u6b63\u5728\u8bbe\u7f6e curl (7.47.0-1ubuntu2.19) ...
\u6b63\u5728\u5904\u7406\u7528\u4e8e libc-bin (2.23-0ubuntu10) \u7684\u89e6\u53d1\u5668 ...
shiyanlou:~/ $ curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -gpg: \u627e\u4e0d\u5230\u6709\u6548\u7684 OpenPGP \u6570\u636e\u3002
shiyanlou:~/ $ [22:08:46]
shiyanlou:~/ $ gedit ros.asc [22:08:46](gedit:1507): GVFS-RemoteVolumeMonitor-WARNING **: remote volume monitor with dbus name org.gtk.vfs.UDisks2VolumeMonitor is not supported(gedit:1507): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
shiyanlou:~/ $ ls [22:15:53]
anaconda3 Code Desktop ros.asc
shiyanlou:~/ $ sudo apt-key add ros.asc [22:15:57]
OK
shiyanlou:~/ $ sudo apt update [22:17:03]
\u547d\u4e2d:1 http://mirrors.cloud.aliyuncs.com/ubuntu xenial InRelease
\u547d\u4e2d:2 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates InRelease
\u547d\u4e2d:3 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security InRelease
\u83b7\u53d6:4 http://packages.ros.org/ros/ubuntu xenial InRelease [4,692 B]
\u83b7\u53d6:5 http://packages.ros.org/ros2/ubuntu xenial InRelease [4,668 B]
\u83b7\u53d6:6 http://packages.ros.org/ros/ubuntu xenial/main amd64 Packages [854 kB]
50% [6 Packages 442 kB/854 kB 52%] 4,617 B/s 2\u5206 26\u79d2^C
shiyanlou:~/ $ sudo sh -c '. /etc/lsb-release && echo "deb http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu/ `lsb_release -cs` main" > /etc/apt/sources.list.d/ros-latest.list'
shiyanlou:~/ $ sudo apt update [22:20:28]
\u547d\u4e2d:1 http://mirrors.cloud.aliyuncs.com/ubuntu xenial InRelease
\u547d\u4e2d:2 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates InRelease
\u547d\u4e2d:3 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security InRelease
\u5ffd\u7565:4 http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu xenial InRelease
\u83b7\u53d6:5 http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu xenial Release [3,810 B]
\u83b7\u53d6:6 http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu xenial Release.gpg [833 B]
\u83b7\u53d6:7 http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu xenial/main amd64 Packages [854 kB]
\u83b7\u53d6:8 http://packages.ros.org/ros2/ubuntu xenial InRelease [4,668 B]
\u83b7\u53d6:9 http://packages.ros.org/ros2/ubuntu xenial/main amd64 Packages [131 kB]
\u83b7\u53d6:10 http://packages.ros.org/ros2/ubuntu xenial/main arm64 Packages [131 kB]
\u5df2\u4e0b\u8f7d 1,126 kB\uff0c\u8017\u65f6 31\u79d2 (36.0 kB/s)
\u6b63\u5728\u8bfb\u53d6\u8f6f\u4ef6\u5305\u5217\u8868... \u5b8c\u6210
\u6b63\u5728\u5206\u6790\u8f6f\u4ef6\u5305\u7684\u4f9d\u8d56\u5173\u7cfb\u6811
\u6b63\u5728\u8bfb\u53d6\u72b6\u6001\u4fe1\u606f... \u5b8c\u6210
\u6709 696 \u4e2a\u8f6f\u4ef6\u5305\u53ef\u4ee5\u5347\u7ea7\u3002\u8bf7\u6267\u884c \u2018apt list --upgradable\u2019 \u6765\u67e5\u770b\u5b83\u4eec\u3002
shiyanlou:~/ $ sudo sh -c '. /etc/lsb-release && echo "deb http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu/ `lsb_release -cs` main" > /etc/apt/sources.list.d/ros-latest.list'
shiyanlou:~/ $ sudo apt update [22:21:54]
\u547d\u4e2d:1 http://mirrors.cloud.aliyuncs.com/ubuntu xenial InRelease
\u547d\u4e2d:2 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-updates InRelease
\u547d\u4e2d:3 http://mirrors.cloud.aliyuncs.com/ubuntu xenial-security InRelease
\u5ffd\u7565:4 http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu xenial InRelease
\u547d\u4e2d:5 http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu xenial Release
\u547d\u4e2d:7 http://packages.ros.org/ros2/ubuntu xenial InRelease
\u6b63\u5728\u8bfb\u53d6\u8f6f\u4ef6\u5305\u5217\u8868... \u5b8c\u6210
\u6b63\u5728\u5206\u6790\u8f6f\u4ef6\u5305\u7684\u4f9d\u8d56\u5173\u7cfb\u6811
\u6b63\u5728\u8bfb\u53d6\u72b6\u6001\u4fe1\u606f... \u5b8c\u6210
\u6709 696 \u4e2a\u8f6f\u4ef6\u5305\u53ef\u4ee5\u5347\u7ea7\u3002\u8bf7\u6267\u884c \u2018apt list --upgradable\u2019 \u6765\u67e5\u770b\u5b83\u4eec\u3002
shiyanlou:~/ $ [22:22:00]