方法1:清除缓存并更新
sudo apt-get clean && sudo apt-get update
如果还不行 那可能是网络故障,请挂VPN
1.编辑/etc/apt/sources.list,找到行
deb http://extra.ubuntu.com...
把这些行注释掉,保存退出
apt-get update
方法3:
Just remove the content of /var/lib/apt/lists
directory:
sudo rm -fR /var/lib/apt/lists/*
then run:
sudo apt-get update