虚拟机下apt-get update更新出现some index files failed to download…
软件源的问题。
搬运工 http://jingyan.baidu.com/article/afd8f4de66efcf34e286e993.html
- 1、进入repogen.simplylinux.ch网站;
- 2、选择国家和自己装的Linux版本
- 3、将“ubuntu Branches”框内的选项全部打勾
- 4、网页拉到最下端,点击“Generate list”
- 5、用生成的源替换linux下 /etc/apt/sources.list中的内容
- 6、在linux终端下输入sudo apt-get update