📌  相关文章
📜  ubuntu 14 一些索引文件下载失败.它们已被忽略,或者使用旧的. - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:40.732000             🧑  作者: Mango

代码示例1
sudo su # login as root
cd /var/lib/apt/lists/
rm -fr *
cd /etc/apt/sources.list.d/
rm -fr *
cd /etc/apt
cp sources.list sources.list.old
cp sources.list sources.list.tmp
sed 's/ubuntuarchive.hnsdc.com/us.archive.ubuntu.com/' sources.list.tmp | tee sources.list
rm sources.list.tmp*
apt-get clean
apt update