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