V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
liuhaotian
V2EX  ›  问与答

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

  •  
  •   liuhaotian · 2016-01-09 11:25:21 +08:00 · 4069 次点击
    这是一个创建于 3047 天前的主题,其中的信息可能已经有所发展或是发生改变。

    购买了一台腾讯云的 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 条回复    2016-01-09 17:25:50 +08:00
    rainy3636
        1
    rainy3636  
       2016-01-09 11:59:02 +08:00 via Android
    ivmm
        2
    ivmm  
       2016-01-09 12:52:26 +08:00
    国内的云经常会遇到这个问题,重装系统就还
    ivmm
        3
    ivmm  
       2016-01-09 12:52:30 +08:00
    @ivmm 就还
    ivmm
        4
    ivmm  
       2016-01-09 12:52:40 +08:00
    @ivmm 就好
    liuhaotian
        5
    liuhaotian  
    OP
       2016-01-09 17:16:29 +08:00
    @rainy3636 内网 IP 的源速度是不是会快一点?
    @ivmm 重装了,还是没有用。腾讯所有的 Jessie 包都返回了 404 。是腾讯源不提供 Jessie 源还是我对 sources.list 的修改不正确
    rainy3636
        6
    rainy3636  
       2016-01-09 17:22:37 +08:00
    快,不提供的话然并卵

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

    自动生成,你把地址换换就行
    liuhaotian
        7
    liuhaotian  
    OP
       2016-01-09 17:25:50 +08:00
    @rainy3636 果然是不提供吗😂我用浙大源,好像近一点。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5845 人在线   最高记录 6547   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 06:39 · PVG 14:39 · LAX 23:39 · JFK 02:39
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.