1、sudo  nano  /etc/apt/sources.list  ,进入编辑页面

2、注释掉之前的源地址。

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

3、复制以下地址

deb http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi

deb-src http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi

deb http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi

deb-src http://mirrors.neusoft.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi

deb http://mirrors.ustc.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi

deb-src http://mirrors.ustc.edu.cn/raspbian/raspbian/ wheezy main contrib non-free rpi

4、在Nano编辑页面,点击鼠标右键,即可将复制内容粘贴其中。

5、ctrl+o保存

6、回车 ,ctrl+x退出

7、更新源,sudo apt-get update

8、更新软件列表,sudo apt-get upgrade

这样更新更彻底

sudo apt-get update

sudo apt-get upgrade -y

sudo apt-get dist-upgrade -y

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄