debian 源設置 ( apt-get 不能安裝)


使用說明

以Jessie為例, 編輯/etc/apt/sources.list文件, 在文件最前面添加以下條目(操作前請做好相應備份)

deb http://mirrors.163.com/debian/ jessie main non-free contrib
deb http://mirrors.163.com/debian/ jessie-updates main non-free contrib
deb http://mirrors.163.com/debian/ jessie-backports main non-free contrib
deb-src http://mirrors.163.com/debian/ jessie main non-free contrib
deb-src http://mirrors.163.com/debian/ jessie-updates main non-free contrib
deb-src http://mirrors.163.com/debian/ jessie-backports main non-free contrib
deb http://mirrors.163.com/debian-security/ jessie/updates main non-free contrib
deb-src http://mirrors.163.com/debian-security/ jessie/updates main non-free contrib

或者下載相應版本的sources.list, 覆蓋/etc/apt/sources.list即可(操作前請做好相應備份)

說明:beaglebone默認用的是 wheezy版本,所以要把上面的Jessie替換一下。

 建議使用下面的源:

此外,還有中國地區的

## china  
deb http://ftp.cn.debian.org/debian/ wheezy main contrib non-free  
deb-src http://ftp.cn.debian.org/debian/ wheezy main contrib non-free  
  
deb http://ftp.cn.debian.org/debian/ wheezy-proposed-updates main contrib non-free  
deb-src http://ftp.cn.debian.org/debian/ wheezy-proposed-updates main contrib non-free  
  
deb http://ftp.cn.debian.org/debian/ wheezy-backports main contrib non-free  
deb-src http://ftp.cn.debian.org/debian/ wheezy-backports main contrib non-free  
  
# debian security updates  
deb http://security.debian.org/ wheezy/updates main contrib non-free  
deb-src http://security.debian.org/ wheezy/updates main contrib non-free  
  
# multimedia  
deb http://deb-multimedia.org wheezy main non-free  

= sid =

## china  
deb http://ftp.cn.debian.org/debian/ sid main contrib non-free  
deb-src http://ftp.cn.debian.org/debian/ sid main contrib non-free  
  
# multimedia  
deb http://deb-multimedia.org sid main non-free  

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM