【问题标题】:Failed to fetch https://download.docker.com/linux/ubuntu/dists/serena/stable/binary-amd64/Packages 404 Not Found in Linux Mint无法获取 https://download.docker.com/linux/ubuntu/dists/serena/stable/binary-amd64/Packages 404 在 Linux Mint 中未找到
【发布时间】:2020-09-29 22:18:18
【问题描述】:

当我执行 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.

我知道有一个类似的问题here

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

分销商 ID:LinuxMint

描述:Linux Mint 18.1 Serena

发布:18.1

并且似乎很重要的文件 /etc/apt/sources.list 包含 线

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

非常感谢任何帮助。

【问题讨论】:

    标签: linux docker linux-mint


    【解决方案1】:

    您正在尝试从 Mint 版本 (Serena) 进行更新。如果你查看https://download.docker.com/linux/ubuntu/dists/,你会发现它只支持标准的 Ubuntu 版本。

    正如我们所看到的here,Serena 基于 Xenial,所以我认为最好的办法是更改相关的 sources.list 行并将 serena 更改为 xenial(这不是你的行'已经给了我们,顺便说一句)

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

    【讨论】:

    • 谢谢你,你是对的,我提供了错误的线路。正确的是在文件 /etc/apt/sources.list.d/additional-repositories.list
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2019-08-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-12-15
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多