解决方式(利用正则匹配删除即可):
cp /etc/apt/sources.list /etc/apt/sources.list.bak sudo sed -i -re 's/([a-z]{2}\.)?archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
重新运行:
sudo apt-get update
恢复正常:
标签:http,list,apt,sources,ubuntu,security,com From: https://www.cnblogs.com/zhangsanlisi411/p/16801238.html