Debian vps执行apt-get update更新 卡在 23% waiting for headers不动 解决办法

发表于 2018-09-09   |   分类于 技术教程     阅读:(189)

第一步先改为阿里的源:

echo "deb http://mirrors.aliyun.com/kali kali-rolling main non-free contrib" > /etc/apt/sources.listecho "deb-src http://mirrors.aliyun.com/kali kali-rolling main non-free contrib" >> /etc/apt/sources.listecho "deb http://mirrors.aliyun.com/kali-security kali-rolling/updates main contrib non-free" >> /etc/apt/sources.list

第二步骤

rm -rf /var/lib/apt/lists/*

rm -rf /var/lib/apt/lists/partial/*

apt-get update

发表新评论

© 2019 VPS干货 Powered by Typecho & Theme Quark Google_sitemap baidu_sitemap
友情链接: 简爱博客 小众博客 vps干货 vps优惠码 王阳个人博客 VPS推介 顾建伟个人博客 Dianlin(好基友) 李子博客 主机测评 资源分享 Hello Mango