方法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
本文提供了三种解决Ubuntu系统更新问题的方法:清除缓存并更新、编辑sources.list文件并重新更新、删除/var/lib/apt/lists目录内容后更新。若仍无法解决,建议挂VPN排查网络故障。
5459

被折叠的 条评论
为什么被折叠?



