W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/....校验和不符

解决Ubuntu系统更新校验和不符问题
在Ubuntu系统下,遇到使用sudo apt-get update时出现校验和不符的错误时,可以尝试更换镜像源地址,如将http://cn.archive.ubuntu.com/ubuntu/替换为http://mirrors.163.com/ubuntu或http://mirrors.sohu.com/ubuntu,以解决该问题。

在Ubuntu系统下,使用sudo apt-get update有时会出现“W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/.... 校验和不符”,解决方法如下:sudo gedit /etc/apt/sources.list,然后将 文件中http://cn.archive.ubuntu.com/ubuntu/替换为http://mirrors.163.com/ubuntuhttp://mirrors.sohu.com/ubuntu,再次sudo apt-get update。如若还出现类似的问题,建议多尝试更换,部分用163,部分用sohu。

root@coder:~# # 更新软件包列表 root@coder:~# sudo apt-get update 命中:1 http://repo.huaweicloud.com/ubuntu bionic InRelease 命中:2 https://download.docker.com/linux/ubuntu bionic InRelease 命中:3 http://repo.huaweicloud.com/ubuntu bionic-security InRelease 命中:4 http://repo.huaweicloud.com/ubuntu bionic-updates InRelease 命中:5 http://repo.huaweicloud.com/ubuntu bionic-proposed InRelease 命中:6 http://repo.huaweicloud.com/ubuntu bionic-backports InRelease 获取:7 https://dl.google.com/linux/chrome/deb stable InRelease [1,825 B] 命中:8 http://ppa.launchpad.net/ethereum/ethereum/ubuntu bionic InRelease 错误:7 https://dl.google.com/linux/chrome/deb stable InRelease 由于没有公钥,无法验证下列签名: NO_PUBKEY 32EE5355A6BC6E42 命中:9 https://deb.nodesource.com/node_16.x bionic InRelease 正在读取软件包列表... 完成 W: 校验数字签名时出错。此仓库未被更新,所以仍然使用此前的索引文件。GPG 错误:https://dl.google.com/linux/chrome/deb stable InRelease: 由于没有公钥,无法验证下列签名: NO_PUBKEY 32EE5355A6BC6E42 W: 无法下载 https://dl.google.com/linux/chrome/deb/dists/stable/InRelease 由于没有公钥,无法验证下列签名: NO_PUBKEY 32EE5355A6BC6E42 W: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。 root@coder:~# root@coder:~# # 安装必要的依赖包 root@coder:~# sudo apt-get install apt-transport-https ca-certificates curl software-properties-common 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 正在读取状态信息... 完成 ca-certificates 已经是最新版 (20230311ubuntu0.18.04.1)。 curl 已经是最新版 (7.58.0-2ubuntu3.24)。 software-properties-common 已经是最新版 (0.96.24.32.22)。 apt-transport-https 已经是最新版 (1.6.17)。 下列软件包是自动安装的并且现在不需要了: fcitx-libs gconf-service gconf-service-backend gconf2 gconf2-common gyp javascript-common libart-2.0-2 libbonobo2-0 libbonobo2-common libbonoboui2-0 libbonoboui2-common libc-ares2 libfcitx-qt0 libgconf-2-4 libglade2-0 libgnome-2-0 libgnome-keyring-common libgnome-keyring0 libgnome2-common libgnomecanvas2-0 libgnomecanvas2-common libgnomeui-0 libgnomeui-common libgnomevfs2-0 libgnomevfs2-common libhttp-parser2.7.1 libjpeg-turbo-progs libjs-async libjs-inherits libjs-jquery libjs-node-uuid libjs-underscore liborbit-2-0 libqt5quickwidgets5 libuv1-dev miscfiles 使用'sudo apt autoremove'来卸载它(它们)。 升级了 0 个软件包,新安装了 0 个软件包, 要卸载 0 个软件包,有 308 个软件包未被升级。 root@coder:~# root@coder:~# # 添加 Docker 的官方 GPG 密钥 root@coder:~# curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg File '/usr/share/keyrings/docker-archive-keyring.gpg' exists. 是否覆盖?(y/N) 请输入新的文件名: # 添加 Docker 软件源 curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to download.docker.com:443 gpg: 找不到有效的 OpenPGP 数据。 root@coder:~# echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null root@coder:~# root@coder:~# # 更新软件包列表 root@coder:~# sudo apt-get update 命中:1 http://repo.huaweicloud.com/ubuntu bionic InRelease 命中:2 http://repo.huaweicloud.com/ubuntu bionic-security InRelease 命中:3 http://repo.huaweicloud.com/ubuntu bionic-updates InRelease 命中:4 http://repo.huaweicloud.com/ubuntu bionic-proposed InRelease 获取:5 https://dl.google.com/linux/chrome/deb stable InRelease [1,825 B] 命中:6 http://repo.huaweicloud.com/ubuntu bionic-backports InRelease 命中:7 https://download.docker.com/linux/ubuntu bionic InRelease 错误:5 https://dl.google.com/linux/chrome/deb stable InRelease 由于没有公钥,无法验证下列签名: NO_PUBKEY 32EE5355A6BC6E42 命中:8 http://ppa.launchpad.net/ethereum/ethereum/ubuntu bionic InRelease 命中:9 https://deb.nodesource.com/node_16.x bionic InRelease 正在读取软件包列表... 完成 W: 校验数字签名时出错。此仓库未被更新,所以仍然使用此前的索引文件。GPG 错误:https://dl.google.com/linux/chrome/deb stable InRelease: 由于没有公钥,无法验证下列签名: NO_PUBKEY 32EE5355A6BC6E42 W: 目标 Packages (stable/binary-amd64/Packages) 在 /etc/apt/sources.list:15 和 /etc/apt/sources.list.d/docker.list:1 中被配置了多次 W: 目标 Packages (stable/binary-all/Packages) 在 /etc/apt/sources.list:15 和 /etc/apt/sources.list.d/docker.list:1 中被配置了多次 W: 无法下载 https://dl.google.com/linux/chrome/deb/dists/stable/InRelease 由于没有公钥,无法验证下列签名: NO_PUBKEY 32EE5355A6BC6E42 W: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。 W: 目标 Packages (stable/binary-amd64/Packages) 在 /etc/apt/sources.list:15 和 /etc/apt/sources.list.d/docker.list:1 中被配置了多次 W: 目标 Packages (stable/binary-all/Packages) 在 /etc/apt/sources.list:15 和 /etc/apt/sources.list.d/docker.list:1 中被配置了多次 root@coder:~# root@coder:~# # 安装 Docker 引擎 root@coder:~# sudo apt-get install docker-ce docker-ce-cli containerd.io 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 正在读取状态信息... 完成 下列软件包是自动安装的并且现在不需要了: fcitx-libs gconf-service gconf-service-backend gconf2 gconf2-common gyp javascript-common libart-2.0-2 libbonobo2-0 libbonobo2-common libbonoboui2-0 libbonoboui2-common libc-ares2 libfcitx-qt0 libgconf-2-4 libglade2-0 libgnome-2-0 libgnome-keyring-common libgnome-keyring0 libgnome2-common libgnomecanvas2-0 libgnomecanvas2-common libgnomeui-0 libgnomeui-common libgnomevfs2-0 libgnomevfs2-common libhttp-parser2.7.1 libjpeg-turbo-progs libjs-async libjs-inherits libjs-jquery libjs-node-uuid libjs-underscore liborbit-2-0 libqt5quickwidgets5 libuv1-dev miscfiles 使用'sudo apt autoremove'来卸载它(它们)。 将会同时安装下列软件: apparmor docker-buildx-plugin docker-ce-rootless-extras docker-compose-plugin iptables libip4tc0 libip6tc0 libiptc0 libnetfilter-conntrack3 libnfnetlink0 libseccomp2 pigz 建议安装: apparmor-profiles-extra apparmor-utils aufs-tools cgroupfs-mount | cgroup-lite kmod 推荐安装: slirp4netns 下列【新】软件包将被安装: apparmor containerd.io docker-buildx-plugin docker-ce docker-ce-cli docker-ce-rootless-extras docker-compose-plugin iptables libip6tc0 libiptc0 libnetfilter-conntrack3 libnfnetlink0 pigz 下列软件包将被升级: libip4tc0 libseccomp2 升级了 2 个软件包,新安装了 13 个软件包, 要卸载 0 个软件包,有 306 个软件包未被升级。 需要下载 111 MB 的归档。 解压缩后会消耗 405 MB 的额外空间。 W: 目标 Packages (stable/binary-amd64/Packages) 在 /etc/apt/sources.list:15 和 /etc/apt/sources.list.d/docker.list:1 中被配置了多次 W: 目标 Packages (stable/binary-all/Packages) 在 /etc/apt/sources.list:15 和 /etc/apt/sources.list.d/docker.list:1 中被配置了多次 您希望继续执行吗? [Y/n] Y 错误:1 https://download.docker.com/linux/ubuntu bionic/stable amd64 containerd.io amd64 1.6.21-1 Could not handshake: Error in the pull function. [IP: 3.170.229.54 443] 获取:2 http://repo.huaweicloud.com/ubuntu bionic/main amd64 libnfnetlink0 amd64 1.0.1-3 [13.3 kB] 获取:3 http://repo.huaweicloud.com/ubuntu bionic/universe amd64 pigz amd64 2.4-1 [57.4 kB] 获取:4 http://repo.huaweicloud.com/ubuntu bionic-security/main amd64 libseccomp2 amd64 2.5.1-1ubuntu1~18.04.2 [43.0 kB] 获取:5 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 libip4tc0 amd64 1.6.1-2ubuntu2.1 [19.8 kB] 获取:6 http://repo.huaweicloud.com/ubuntu bionic-security/main amd64 apparmor amd64 2.12-4ubuntu5.3 [488 kB] 获取:7 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 libip6tc0 amd64 1.6.1-2ubuntu2.1 [20.1 kB] 获取:8 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 libiptc0 amd64 1.6.1-2ubuntu2.1 [9,468 B] 获取:9 http://repo.huaweicloud.com/ubuntu bionic/main amd64 libnetfilter-conntrack3 amd64 1.0.6-2 [37.8 kB] 获取:10 https://download.docker.com/linux/ubuntu bionic/stable amd64 docker-buildx-plugin amd64 0.10.5-1~ubuntu.18.04~bionic [26.1 MB] 获取:11 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 iptables amd64 1.6.1-2ubuntu2.1 [269 kB] 获取:12 https://download.docker.com/linux/ubuntu bionic/stable amd64 docker-ce-cli amd64 5:24.0.2-1~ubuntu.18.04~bionic [13.3 MB] 获取:13 https://download.docker.com/linux/ubuntu bionic/stable amd64 docker-ce amd64 5:24.0.2-1~ubuntu.18.04~bionic [22.9 MB] 错误:13 https://download.docker.com/linux/ubuntu bionic/stable amd64 docker-ce amd64 5:24.0.2-1~ubuntu.18.04~bionic Could not handshake: Error in the pull function. [IP: 3.170.229.54 443] 错误:14 https://download.docker.com/linux/ubuntu bionic/stable amd64 docker-ce-rootless-extras amd64 5:24.0.2-1~ubuntu.18.04~bionic Could not handshake: Error in the pull function. [IP: 3.170.229.54 443] 错误:15 https://download.docker.com/linux/ubuntu bionic/stable amd64 docker-compose-plugin amd64 2.18.1-1~ubuntu.18.04~bionic Could not handshake: Error in the pull function. [IP: 3.170.229.54 443] 已下载 40.3 MB,耗时 32秒 (1,271 kB/s) E: 无法下载 https://download.docker.com/linux/ubuntu/dists/bionic/pool/stable/amd64/containerd.io_1.6.21-1_amd64.deb Could not handshake: Error in the pull function. [IP: 3.170.229.54 443] E: 无法下载 https://download.docker.com/linux/ubuntu/dists/bionic/pool/stable/amd64/docker-ce_24.0.2-1~ubuntu.18.04~bionic_amd64.deb Could not handshake: Error in the pull function. [IP: 3.170.229.54 443] E: 无法下载 https://download.docker.com/linux/ubuntu/dists/bionic/pool/stable/amd64/docker-ce-rootless-extras_24.0.2-1~ubuntu.18.04~bionic_amd64.deb Could not handshake: Error in the pull function. [IP: 3.170.229.54 443] E: 无法下载 https://download.docker.com/linux/ubuntu/dists/bionic/pool/stable/amd64/docker-compose-plugin_2.18.1-1~ubuntu.18.04~bionic_amd64.deb Could not handshake: Error in the pull function. [IP: 3.170.229.54 443] E: 有几个软件包无法下载,要不运行 apt-get update 或者加上 --fix-missing 的选项再试试? root@coder:~# sudo docker version sudo: docker:找不到命令 root@coder:~# # 更新软件包列表 root@coder:~# sudo apt-get update 命中:1 http://repo.huaweicloud.com/ubuntu bionic InRelease 忽略:2 https://download.docker.com/linux/ubuntu bionic InRelease 命中:3 http://repo.huaweicloud.com/ubuntu bionic-security InRelease 命中:4 http://repo.huaweicloud.com/ubuntu bionic-updates InRelease 命中:5 http://repo.huaweicloud.com/ubuntu bionic-proposed InRelease 命中:6 http://repo.huaweicloud.com/ubuntu bionic-backports InRelease 获取:7 https://dl.google.com/linux/chrome/deb stable InRelease [1,825 B] 获取:8 https://download.docker.com/linux/ubuntu bionic Release [63.6 kB] 命中:9 http://ppa.launchpad.net/ethereum/ethereum/ubuntu bionic InRelease 获取:10 https://download.docker.com/linux/ubuntu bionic Release.gpg [819 B] 错误:7 https://dl.google.com/linux/chrome/deb stable InRelease 由于没有公钥,无法验证下列签名: NO_PUBKEY 32EE5355A6BC6E42 命中:11 https://deb.nodesource.com/node_16.x bionic InRelease 已下载 64.4 kB,耗时 1秒 (59.2 kB/s) 正在读取软件包列表... 完成 W: 校验数字签名时出错。此仓库未被更新,所以仍然使用此前的索引文件。GPG 错误:https://dl.google.com/linux/chrome/deb stable InRelease: 由于没有公钥,无法验证下列签名: NO_PUBKEY 32EE5355A6BC6E42 W: 目标 Packages (stable/binary-amd64/Packages) 在 /etc/apt/sources.list:15 和 /etc/apt/sources.list.d/docker.list:1 中被配置了多次 W: 目标 Packages (stable/binary-all/Packages) 在 /etc/apt/sources.list:15 和 /etc/apt/sources.list.d/docker.list:1 中被配置了多次 W: 无法下载 https://dl.google.com/linux/chrome/deb/dists/stable/InRelease 由于没有公钥,无法验证下列签名: NO_PUBKEY 32EE5355A6BC6E42 W: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。 W: 目标 Packages (stable/binary-amd64/Packages) 在 /etc/apt/sources.list:15 和 /etc/apt/sources.list.d/docker.list:1 中被配置了多次 W: 目标 Packages (stable/binary-all/Packages) 在 /etc/apt/sources.list:15 和 /etc/apt/sources.list.d/docker.list:1 中被配置了多次 root@coder:~# root@coder:~# # 安装必要的依赖包 root@coder:~# sudo apt-get install apt-transport-https ca-certificates curl software-properties-common 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 正在读取状态信息... 完成 ca-certificates 已经是最新版 (20230311ubuntu0.18.04.1)。 curl 已经是最新版 (7.58.0-2ubuntu3.24)。 software-properties-common 已经是最新版 (0.96.24.32.22)。 apt-transport-https 已经是最新版 (1.6.17)。 下列软件包是自动安装的并且现在不需要了: fcitx-libs gconf-service gconf-service-backend gconf2 gconf2-common gyp javascript-common libart-2.0-2 libbonobo2-0 libbonobo2-common libbonoboui2-0 libbonoboui2-common libc-ares2 libfcitx-qt0 libgconf-2-4 libglade2-0 libgnome-2-0 libgnome-keyring-common libgnome-keyring0 libgnome2-common libgnomecanvas2-0 libgnomecanvas2-common libgnomeui-0 libgnomeui-common libgnomevfs2-0 libgnomevfs2-common libhttp-parser2.7.1 libjpeg-turbo-progs libjs-async libjs-inherits libjs-jquery libjs-node-uuid libjs-underscore liborbit-2-0 libqt5quickwidgets5 libuv1-dev miscfiles 使用'sudo apt autoremove'来卸载它(它们)。 升级了 0 个软件包,新安装了 0 个软件包, 要卸载 0 个软件包,有 308 个软件包未被升级。 W: 目标 Packages (stable/binary-amd64/Packages) 在 /etc/apt/sources.list:15 和 /etc/apt/sources.list.d/docker.list:1 中被配置了多次 W: 目标 Packages (stable/binary-all/Packages) 在 /etc/apt/sources.list:15 和 /etc/apt/sources.list.d/docker.list:1 中被配置了多次 root@coder:~# root@coder:~# # 添加 Docker 的官方 GPG 密钥 root@coder:~# curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg File '/usr/share/keyrings/docker-archive-keyring.gpg' exists. 是否覆盖?(y/N) 请输入新的文件名: # 添加 Docker 软件源 File '# 添加 Docker 软件源' exists. 是否覆盖?(y/N) echo "deb [arch=amd64 signed-by=/usr/s.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null 请输入新的文件名: gpg: 找不到有效的 OpenPGP 数据。 gpg: 解开 ASCII 封装失败:文件已存在 (23) Failed writing body root@coder:~# # 更新软件包列表 root@coder:~# sudo apt-get update 命中:1 http://repo.huaweicloud.com/ubuntu bionic InRelease 忽略:2 https://download.docker.com/linux/ubuntu bionic InRelease 命中:3 http://repo.huaweicloud.com/ubuntu bionic-security InRelease 错误:4 https://download.docker.com/linux/ubuntu bionic Release Could not handshake: Error in the pull function. [IP: 3.170.229.54 443] 命中:5 http://repo.huaweicloud.com/ubuntu bionic-updates InRelease 命中:6 http://repo.huaweicloud.com/ubuntu bionic-proposed InRelease 命中:7 http://ppa.launchpad.net/ethereum/ethereum/ubuntu bionic InRelease 获取:8 https://dl.google.com/linux/chrome/deb stable InRelease [1,825 B] 命中:9 http://repo.huaweicloud.com/ubuntu bionic-backports InRelease 错误:8 https://dl.google.com/linux/chrome/deb stable InRelease 由于没有公钥,无法验证下列签名: NO_PUBKEY 32EE5355A6BC6E42 命中:10 https://deb.nodesource.com/node_16.x bionic InRelease 正在读取软件包列表... 完成 E: 仓库 “https://download.docker.com/linux/ubuntu bionic Release” 不再含有 Release 文件。 N: 无法安全地用该源进行更新,所以默认禁用该源。 N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。 W: 校验数字签名时出错。此仓库未被更新,所以仍然使用此前的索引文件。GPG 错误:https://dl.google.com/linux/chrome/deb stable InRelease: 由于没有公钥,无法验证下列签名: NO_PUBKEY 32EE5355A6BC6E42 W: 目标 Packages (stable/binary-amd64/Packages) 在 /etc/apt/sources.list:15 和 /etc/apt/sources.list.d/docker.list:1 中被配置了多次 W: 目标 Packages (stable/binary-all/Packages) 在 /etc/apt/sources.list:15 和 /etc/apt/sources.list.d/docker.list:1 中被配置了多次 root@coder:~# root@coder:~# # 安装 Docker 引擎 root@coder:~# sudo apt-get install docker-ce docker-ce-cli containerd.io 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 正在读取状态信息... 完成 下列软件包是自动安装的并且现在不需要了: fcitx-libs gconf-service gconf-service-backend gconf2 gconf2-common gyp javascript-common libart-2.0-2 libbonobo2-0 libbonobo2-common libbonoboui2-0 libbonoboui2-common libc-ares2 libfcitx-qt0 libgconf-2-4 libglade2-0 libgnome-2-0 libgnome-keyring-common libgnome-keyring0 libgnome2-common libgnomecanvas2-0 libgnomecanvas2-common libgnomeui-0 libgnomeui-common libgnomevfs2-0 libgnomevfs2-common libhttp-parser2.7.1 libjpeg-turbo-progs libjs-async libjs-inherits libjs-jquery libjs-node-uuid libjs-underscore liborbit-2-0 libqt5quickwidgets5 libuv1-dev miscfiles 使用'sudo apt autoremove'来卸载它(它们)。 将会同时安装下列软件: apparmor docker-buildx-plugin docker-ce-rootless-extras docker-compose-plugin iptables libip4tc0 libip6tc0 libiptc0 libnetfilter-conntrack3 libnfnetlink0 libseccomp2 pigz 建议安装: apparmor-profiles-extra apparmor-utils aufs-tools cgroupfs-mount | cgroup-lite kmod 推荐安装: slirp4netns 下列【新】软件包将被安装: apparmor containerd.io docker-buildx-plugin docker-ce docker-ce-cli docker-ce-rootless-extras docker-compose-plugin iptables libip6tc0 libiptc0 libnetfilter-conntrack3 libnfnetlink0 pigz 下列软件包将被升级: libip4tc0 libseccomp2 升级了 2 个软件包,新安装了 13 个软件包, 要卸载 0 个软件包,有 306 个软件包未被升级。 需要下载 111 MB 的归档。 解压缩后会消耗 405 MB 的额外空间。 W: 目标 Packages (stable/binary-amd64/Packages) 在 /etc/apt/sources.list:15 和 /etc/apt/sources.list.d/docker.list:1 中被配置了多次 W: 目标 Packages (stable/binary-all/Packages) 在 /etc/apt/sources.list:15 和 /etc/apt/sources.list.d/docker.list:1 中被配置了多次 您希望继续执行吗? [Y/n] y 获取:1 http://repo.huaweicloud.com/ubuntu bionic/main amd64 libnfnetlink0 amd64 1.0.1-3 [13.3 kB] 错误:2 https://download.docker.com/linux/ubuntu bionic/stable amd64 containerd.io amd64 1.6.21-1 Could not handshake: Error in the pull function. [IP: 3.170.229.111 443] 获取:3 http://repo.huaweicloud.com/ubuntu bionic/universe amd64 pigz amd64 2.4-1 [57.4 kB] 获取:4 http://repo.huaweicloud.com/ubuntu bionic-security/main amd64 libseccomp2 amd64 2.5.1-1ubuntu1~18.04.2 [43.0 kB] 错误:5 https://download.docker.com/linux/ubuntu bionic/stable amd64 docker-buildx-plugin amd64 0.10.5-1~ubuntu.18.04~bionic Could not handshake: Error in the pull function. [IP: 3.170.229.111 443] 获取:6 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 libip4tc0 amd64 1.6.1-2ubuntu2.1 [19.8 kB] 获取:7 http://repo.huaweicloud.com/ubuntu bionic-security/main amd64 apparmor amd64 2.12-4ubuntu5.3 [488 kB] 获取:8 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 libip6tc0 amd64 1.6.1-2ubuntu2.1 [20.1 kB] 获取:9 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 libiptc0 amd64 1.6.1-2ubuntu2.1 [9,468 B] 获取:10 http://repo.huaweicloud.com/ubuntu bionic/main amd64 libnetfilter-conntrack3 amd64 1.0.6-2 [37.8 kB] 获取:11 http://repo.huaweicloud.com/ubuntu bionic-updates/main amd64 iptables amd64 1.6.1-2ubuntu2.1 [269 kB] 错误:12 https://download.docker.com/linux/ubuntu bionic/stable amd64 docker-ce-cli amd64 5:24.0.2-1~ubuntu.18.04~bionic Could not handshake: Error in the pull function. [IP: 3.170.229.111 443] 错误:13 https://download.docker.com/linux/ubuntu bionic/stable amd64 docker-ce amd64 5:24.0.2-1~ubuntu.18.04~bionic Could not handshake: Error in the pull function. [IP: 3.170.229.111 443] 错误:14 https://download.docker.com/linux/ubuntu bionic/stable amd64 docker-ce-rootless-extras amd64 5:24.0.2-1~ubuntu.18.04~bionic Could not handshake: Error in the pull function. [IP: 3.170.229.111 443] 获取:15 https://download.docker.com/linux/ubuntu bionic/stable amd64 docker-compose-plugin amd64 2.18.1-1~ubuntu.18.04~bionic [10.9 MB] 已下载 11.9 MB,耗时 1秒 (8,753 kB/s) E: 无法下载 https://download.docker.com/linux/ubuntu/dists/bionic/pool/stable/amd64/containerd.io_1.6.21-1_amd64.deb Could not handshake: Error in the pull function. [IP: 3.170.229.111 443] E: 无法下载 https://download.docker.com/linux/ubuntu/dists/bionic/pool/stable/amd64/docker-buildx-plugin_0.10.5-1~ubuntu.18.04~bionic_amd64.deb Could not handshake: Error in the pull function. [IP: 3.170.229.111 443] E: 无法下载 https://download.docker.com/linux/ubuntu/dists/bionic/pool/stable/amd64/docker-ce-cli_24.0.2-1~ubuntu.18.04~bionic_amd64.deb Could not handshake: Error in the pull function. [IP: 3.170.229.111 443] E: 无法下载 https://download.docker.com/linux/ubuntu/dists/bionic/pool/stable/amd64/docker-ce_24.0.2-1~ubuntu.18.04~bionic_amd64.deb Could not handshake: Error in the pull function. [IP: 3.170.229.111 443] E: 无法下载 https://download.docker.com/linux/ubuntu/dists/bionic/pool/stable/amd64/docker-ce-rootless-extras_24.0.2-1~ubuntu.18.04~bionic_amd64.deb Could not handshake: Error in the pull function. [IP: 3.170.229.111 443] E: 有几个软件包无法下载,要不运行 apt-get update 或者加上 --fix-missing 的选项再试试?
最新发布
09-28
评论 9
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值