解决debian “Some index files failed to download, they have been ignored, or old ones used instead.”

2019-12-04T06:29:00

在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
 



作者:Sivan2017
链接:https://www.jianshu.com/p/aca6cf70a5f0

当前页面是本站的「Baidu MIP」版。发表评论请点击:完整版 »
因本文不是用Markdown格式的编辑器书写的,转换的页面可能不符合MIP标准。