使用apt-get安装相关的软件时,不能Fetch,现在更新为国内的源!

我使用的是中国科技大学的树莓派的软件源,测试可以使用(更新时间:2018年7月15日)

deb http://mirrors.ustc.edu.cn/raspbian/raspbian/ jessie main non-free contrib
deb-src http://mirrors.ustc.edu.cn/raspbian/raspbian/ jessie main non-free contrib
deb http://mirrors.ustc.edu.cn/archive.raspberrypi.org/ jessie main

我们即使那个上述文件覆盖掉树莓派当中的soutce.list文件,如下图所示:

这样我们使用apt-get就不会出现问题啦!下次出现问题,请重新修改此文件当中的内容,保证现在的软件源是最新的,可以使用:

sudo apt-get update && sudo apt-get upgrade

                                                        OK!

猜你喜欢

转载自www.cnblogs.com/uestc-mm/p/9314856.html