• Ubuntu 修改源


    Steps

    1. 打开Ubuntu的终端,输入
    
     sudo gedit /etc/apt/sources.list
    
    
    1. 删掉里边所有旧的内容,把新的内容贴进去

    2. 执行

    
    sudo apt-get update
    
    

    ailiyun:

    TRUSTY(14.04) ref

    
    deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
    
    deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
    
    deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
    
    deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
    
    deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
    
    deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
    
    deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
    
    deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
    
    deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
    
    deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
    
    

    163:

    
    deb http://mirrors.163.com/ubuntu/ intrepid main restricted universe multiverse
    
    deb http://mirrors.163.com/ubuntu/ intrepid-security main restricted universe multiverse
    
    deb http://mirrors.163.com/ubuntu/ intrepid-updates main restricted universe multiverse
    
    deb http://mirrors.163.com/ubuntu/ intrepid-proposed main restricted universe multiverse
    
    deb http://mirrors.163.com/ubuntu/ intrepid-backports main restricted universe multiverse
    
    deb-src http://mirrors.163.com/ubuntu/ intrepid main restricted universe multiverse
    
    deb-src http://mirrors.163.com/ubuntu/ intrepid-security main restricted universe multiverse
    
    deb-src http://mirrors.163.com/ubuntu/ intrepid-updates main restricted universe multiverse
    
    deb-src http://mirrors.163.com/ubuntu/ intrepid-proposed main restricted universe multiverse
    
    deb-src http://mirrors.163.com/ubuntu/ intrepid-backports main restricted universe multiverse 
    
    
  • 相关阅读:
    简单读取winfrom资源文件
    string.Format对C#字符串格式化
    如何在SQL中使用循环结构
    Linq to SQL 多条件动态组合查询(实战篇)
    提问的艺术
    XtraGrid 单元格加边框颜色
    凭证控件制作
    C# double 四舍五入
    自定义光标样式
    触发窗体事件(例如按Esc关闭窗体)
  • 原文地址:https://www.cnblogs.com/pengzhen/p/5779896.html
Copyright © 2020-2023  润新知