美文网首页工作专题java学习
ubuntu 14.04 LTS 阿里云更新源、官方源和第三方更

ubuntu 14.04 LTS 阿里云更新源、官方源和第三方更

作者: devzhaoyou | 来源:发表于2016-07-23 08:46 被阅读5617次

    该源列表只针对 ubuntu 14.04 LTS 不可以与其他版本的 ubuntu 混用 ,阿里云的更新源比较快。其他版本更新源参见:源列表
    先备份源列表

    sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup

    然后打开源列表,清空内容,将下面源列表粘贴到里面,保存。

    sudo gedit /etc/apt/sources.list

    更新源

    sudo apt-get update

    ubuntu 14.04 LTS 阿里云更新源、官方源和第三方更新源列表:

    #aliyun
    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
     
    #ubuntu 
    deb http://archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
    deb http://archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
    deb http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
    deb http://archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse
    deb http://archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
    deb-src http://archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
    deb-src http://archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
    deb-src http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
    deb-src http://archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse
    deb-src http://archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
     
    #ubuntu other
    deb http://archive.canonical.com/ubuntu/ trusty partner
    deb http://extras.ubuntu.com/ubuntu/ trusty main
    

    相关文章

      网友评论

        本文标题:ubuntu 14.04 LTS 阿里云更新源、官方源和第三方更

        本文链接:https://www.haomeiwen.com/subject/ebtwjttx.html