下载 ubuntu 包时 Docker 安装失败

阿德里安

我正在尝试使用此处找到的官方逐步页面在 Ubuntu 18.04 上安装 Docker CE 18.03 我被困在第 4) 步sudo apt-get update这就是我得到的:

Hit:1 http://mirror.transip.net/stack/software/deb/Ubuntu_18.04 ./ InRelease
Hit:2 http://nl.archive.ubuntu.com/ubuntu bionic InRelease 
Ign:3 http://dl.google.com/linux/chrome/deb stable InRelease 
Hit:4 http://dl.google.com/linux/chrome/deb stable Release 
Hit:5 http://nl.archive.ubuntu.com/ubuntu bionic-updates InRelease 
Hit:6 http://nl.archive.ubuntu.com/ubuntu bionic-backports InRelease 
Hit:7 http://security.ubuntu.com/ubuntu bionic-security InRelease 
Err:8 https://get.docker.com/ubuntu docker InRelease 
403 Forbidden [IP: 52.85.58.66 443]
Reading package lists... Done 
E: Failed to fetch http://get.docker.io/ubuntu/dists/docker/InRelease 403 Forbidden [IP: 52.85.58.66 443]
E: The repository 'http://get.docker.io/ubuntu docker InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

访问 Err:8 https://get.docker.com/ubuntu/ 中的链接输出以下内容:

echo "# WARNING! This script is deprecated. Please use the script"
echo "# at https://get.docker.com/"
exit 1

好的,过时的链接,没问题,所以我下载了在 get.docker.com 上找到的脚本并用 bash 运行它,结果是:

# Executing docker install script, commit: 36b78b2
+ sudo -E sh -c apt-get update -qq >/dev/null
E: The repository 'http://ppa.launchpad.net/colingille/freshlight/ubuntu bionic Release' does not have a Release file.
E: Failed to fetch http://get.docker.io/ubuntu/dists/docker/InRelease  403  Forbidden [IP: 52.85.58.48 443]
E: The repository 'http://get.docker.io/ubuntu docker InRelease' is not signed.

有什么我可以尝试的吗?

piy26

安装确实坏了,我也遇到了。当我前一段时间执行类似操作时,此链接救了我https://gist.github.com/levsthings/0a49bfe20b25eeadd61ff0e204f50088

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

docker build在“下载mariadb”时失败

Docker:在Ubuntu上Java 8安装失败

直接下载Docker-CE安装包

ubuntu 软件下载失败

从 Ubuntu 18.04 软件中心下载并安装 geany 失败

“下载kerl”后,在Ubuntu上通过asdf安装Erlang失败

在 Ubuntu 中使用 Docker 安装包

在Ubuntu 19.10上安装Docker时,containerd.io软件包不可用

在ubuntu上运行程序集时SBT下载失败

下载包而不安装

我们如何才能成功下载 conda 安装包,而忽略下载失败的包?

Docker 构建在 npm 安装时失败

为什么下载时不自动安装软件包?

在 ubuntu 16.04 中安装 docker 时出错

在 Ubuntu 中安装 npm 包时出错

在Ubuntu 20.04 LTS(Vmware)上docker安装失败

Ubuntu 20.04 上的 docker-ce 安装后配置失败

如何安装通常在Ubuntu安装过程中下载的软件包?

Docker中的PECL软件包安装失败

由于软件包损坏,Maven在ubuntu上安装失败

在Ubuntu 14.04上Softether Deb软件包安装失败

Ubuntu Server 安装失败,缺少软件包

无法在Docker Ubuntu映像内安装软件包

如何在Docker Ubuntu容器中安装软件包?

如何下载Ubuntu软件包并将其带回家进行安装?

为什么Ubuntu不需要下载您以前在系统上安装的软件包

为什么在本地安装deb软件包时重新下载deb软件包

当apk添加失败时,如何在gliderlabs / alpine Docker镜像中安装Alpine Linux软件包?

错误:在高山docker映像上安装pip软件包时,命令'gcc'失败,退出状态为1