美文网首页
解决“Some index files failed to do

解决“Some index files failed to do

作者: 蜡笔刘 | 来源:发表于2017-12-29 22:00 被阅读499次

    在Debian使用apt-get update出现"E: Some index files failed to download, they have been ignored, or old ones used instead."的错误提示问题

    一、替换文件

    vim /etc/apt/sources.list 
    

    二、替换文件中的源

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

    这里是替换成阿里云源

    三、查看效果

    apt-get update
    

    相关文章

      网友评论

          本文标题:解决“Some index files failed to do

          本文链接:https://www.haomeiwen.com/subject/wqbwgxtx.html