在ubuntu更新时
执行命令
sudo apt-get update
出现错误E: Some index files failed to download, they have been ignored, or old ones used instead
可以将目录下/var/lib/apt/lists/partial/
所有的文件清掉
1 | sudo rm /var/lib/apt/lists/* -vf |
再次运行sudo apt-get update
在ubuntu更新时
执行命令
sudo apt-get update
出现错误E: Some index files failed to download, they have been ignored, or old ones used instead
可以将目录下/var/lib/apt/lists/partial/
所有的文件清掉
1 | sudo rm /var/lib/apt/lists/* -vf |
再次运行sudo apt-get update