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  
  • 相关阅读:
    Python单元测试之unittest基础
    linux--硬链接和软链接
    12-8 istio核心功能实战-----可观察性(程访问遥测插件)
    12-7 istio核心功能实战-----可观察性(网络可视化)
    12-6 istio核心功能实战-----可观察性(分布式追踪)
    12-3 部署面向生产的istio-----核心组件
    12 ServiceMesh代表作istio-----12-1 ServiceMes、Istio架构原理
    11-7 Grafana看板和邮件报警
    11-6 监控落地
    11-4 部署前奏-Helm&Operator
  • 原文地址:https://www.cnblogs.com/qiyuexin/p/6398153.html
Copyright © 2011-2022 走看看