• 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  
  • 相关阅读:
    转: 关于linux用户时间与系统时间的说明
    转: 关于CAS cpu锁的技术说明。
    基于TCPCopy的Dubbo服务引流工具-DubboCopy
    Netty中的坑(下篇)
    编写明显没有错误的代码
    Zookeeper-Zookeeper client
    Zookeeper-Zookeeper leader选举
    Zookeeper-Zookeeper启动过程
    Zookeeper-Zookeeper的配置
    Zookeeper-Zookeeper可以干什么
  • 原文地址:https://www.cnblogs.com/qiyuexin/p/6398153.html
Copyright © 2020-2023  润新知