Failed to fetch https:/download.docker.comlinuxubuntudistsserenastablebinary-amd64Packages 404 Not Found in Linux Mint.

问题描述 投票:0回答:1

当我进行 sudo apt-get update 时,我得到以下错误。

Err:23 https://download.docker.com/linux/ubuntu serena/stable amd64 Packages 404 Not Found 
E: Failed to fetch https://download.docker.com/linux/ubuntu/dists/serena/stable/binary-amd64/Packages  404  Not Found 
E: Some index files failed to download. They have been ignored, or old ones used instead.

我知道有一个类似的问题 此处

但我仍然无法解决这个问题。我运行在

经销商ID: LinuxMint

描述: Linux Mint 18.1 Serena

发布。 18.1

和文件etcaptsources.list似乎很重要,其中包含以下一行

#deb cdrom:[Linux Mint 18.1 _Serena_ - Release amd64 20161213]/ xenial contrib main non-free

非常感谢任何帮助。

linux docker linux-mint
1个回答
1
投票

你正试图从Mint版本(Serena)更新。如果你查看 https:/download.docker.comlinuxubuntudists。你会发现,它只支持标准的Ubuntu版本。

我们可以看到 此处,Serena是以Xenial为基础的,所以我认为你最好的最好的是改变相关的。sources.list 纹丝不动 serenaxenial (这不是你说的那句话)

例如,我有 deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable. 如果你找不到这一行,在 /etc/apt/sources/list,它可能在一个文件中 /etc/apt/sources.list.d

© www.soinside.com 2019 - 2024. All rights reserved.