我的博客部分文章同步至簡書君珠。
更新記錄
1.20170107 初次成文
為什么有這篇文章
修改軟件源后仍然很慢耘斩,樹莓派仍然還要從*.raspberrypi.org
下載
編輯/etc/apt/sources.list
文件
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
改完以后你會發(fā)現(xiàn),apt
下載還是會請求archive.raspberrypi.org
猜绣。除了以上這些邀跃,還要注釋掉/etc/apt/sources.list.d/raspi.list
里所有內(nèi)容涩搓。
#deb http://archive.raspberrypi.org/debian/ jessie main ui
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://archive.raspberrypi.org/debian/ jessie main ui
重新更新并升級軟件源
sudo apt update #更新源
sudo apt upgrade #更新軟件包
原文地址:https://www.sfantree.com/raspberrypi_enable_softerware_source/本站原創(chuàng)文章采用 “署名-非商業(yè)性使用-相同方式共享 3.0 中國大陸 ”創(chuàng)作共用協(xié)議。轉(zhuǎn)載時請以鏈接形式標(biāo)明本文地址皂股。