liuhaotian
V2EX  ›  问与答

腾讯云的 Debian Jessie 源如何设置使其能正常获取

  •  
  •   liuhaotian · Jan 9, 2016 · 4418 views
    This topic created in 3778 days ago, the information mentioned may be changed or developed.

    购买了一台腾讯云的 VPS ,系统是 Debian 8.2 x64 ,但是系统默认的源是 wheezy 的源,所以想要换成 jessie 源,来安装 Apache 2.4 等。但是将 wheezy 替换为 jessie 后,运行 apt-get update 返回错误,并且无法通过 apt-get install 安装软件包。

    返回的错误如下:

    W: Failed to fetch http://mirrors.tencentyun.com/debian/dists/jessie-backports-sloppy/non-free/binary-amd64/Packages  404  Not Found
    
    W: Failed to fetch http://mirrors.tencentyun.com/debian/dists/jessie-updates/main/source/Sources  404  Not Found
    
    W: Failed to fetch http://mirrors.tencentyun.com/debian/dists/jessie-updates/contrib/source/Sources  404  Not Found
    
    W: Failed to fetch http://mirrors.tencentyun.com/debian/dists/jessie-updates/non-free/source/Sources  404  Not Found
    
    W: Failed to fetch http://mirrors.tencentyun.com/debian/dists/jessie-updates/main/binary-amd64/Packages  404  Not Found
    
    W: Failed to fetch http://mirrors.tencentyun.com/debian/dists/jessie-updates/contrib/binary-amd64/Packages  404  Not Found
    
    W: Failed to fetch http://mirrors.tencentyun.com/debian/dists/jessie-updates/non-free/binary-amd64/Packages  404  Not Found
    
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    

    请问应该如何调整源设置使其能正常获取并安装软件包?谢谢!

    7 replies    2016-01-09 17:25:50 +08:00
    rainy3636
        1
    rainy3636  
       Jan 9, 2016 via Android
    ivmm
        2
    ivmm  
       Jan 9, 2016
    国内的云经常会遇到这个问题,重装系统就还
    ivmm
        3
    ivmm  
       Jan 9, 2016
    @ivmm 就还
    ivmm
        4
    ivmm  
       Jan 9, 2016
    @ivmm 就好
    liuhaotian
        5
    liuhaotian  
    OP
       Jan 9, 2016
    @rainy3636 内网 IP 的源速度是不是会快一点?
    @ivmm 重装了,还是没有用。腾讯所有的 Jessie 包都返回了 404 。是腾讯源不提供 Jessie 源还是我对 sources.list 的修改不正确
    rainy3636
        6
    rainy3636  
       Jan 9, 2016
    快,不提供的话然并卵

    https://lug.ustc.edu.cn/repogen/

    自动生成,你把地址换换就行
    liuhaotian
        7
    liuhaotian  
    OP
       Jan 9, 2016
    @rainy3636 果然是不提供吗😂我用浙大源,好像近一点。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5464 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 52ms · UTC 08:48 · PVG 16:48 · LAX 01:48 · JFK 04:48
    ♥ Do have faith in what you're doing.