zoukankan      html  css  js  c++  java
  • 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  
  • 相关阅读:
    MOSS 2007(Designer) 自定义列表表单开发笔记1(表单字段控件格式化)
    不使用第三个变量,怎么交换两个变量的值?
    AT指令介绍
    转:iis 支持wap
    WAP传输协议
    计算生肖
    下载文件 转
    彩信MO,MT的业务流程(转)
    最详细AT指令
    WML标签手册
  • 原文地址:https://www.cnblogs.com/qiyuexin/p/6398153.html
Copyright © 2011-2022 走看看