登录站点

用户名

密码

自由联盟 - 服务器

  • 分享

    Debian8系统中执行apt-get update命令提示404 Not Found怎么处理? Jimcloud 多IP服

    Alan 2023-05-10 16:08
    Debian8系统中执行apt-get update命令提示404 Not Found怎么处理?

    E3/E5/双E5
    8G / 16G / 32G / 64G
    Jimcloud海外服务器租用找Coke
    Skype:live:.cid.8a666f2113038d7d

    debian8系统中执行apt-get update命令提示404 Not Found,本教程以debian8系统为例为大家介绍。

    本配置适用于debian8,9版本

    1.问题描述

    Debian 8系统在执行“apt-get update”命令时提示以下报错。

    Err http://mirrors.could.aliyuncs.com jessie/updates/main Sources

    404 Not Found

    Err http://mirrors.could.aliyuncs.com jessie/updates/contrib Sources

    404 Not Found

    Err http://mirrors.could.aliyuncs.com jessie/updates/non-free Sources

    404 Not Found

    2.问题原因

    在/etc/apt/sources.list文件中的软件源地址错误或者无效。

    3.解决办法,更换sources.list文件里面源文本即可

    请您将/etc/apt目录下的sources.list文件和sources.list.d目录改名。然后新建一个sources.list文件,在文件中添加以下内容。

    deb http://mirrors.aliyun.com/debian/ jessie-proposed-updates main non-free contrib

    deb-src http://mirrors.aliyun.com/debian/ jessie main non-free contrib

    deb-src http://mirrors.aliyun.com/debian/ jessie-proposed-updates main non-free contrib

    退出文件保存后执行apt-get update更新下即可

你还不是该群组正式成员,不能参与讨论。 现在就加入