Ubuntu更新源

  1. (1)首先备份官方源,以免设置错误可恢复。

    Ubuntu14.04更新源
  2. (2)用编辑器打开 /etc/apt/sources.list文件。

    Ubuntu14.04更新源
  3. (3)删除原有的源,在编辑器中添加新源。如图所示:

    Ubuntu更新源_第1张图片
  4. (4)添加的源有很多,可根据自己的情况选择。

    #163

    deb http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse

    deb http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse

    deb http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse

    deb http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse

    deb http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse

    deb-src http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse

    deb-src http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse

    deb-src http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse

    deb-src http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse

    deb-src http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse

    #中科大

    deb http://debian.ustc.edu.cn/ubuntu/ trusty main multiverse restricted universe

    deb http://debian.ustc.edu.cn/ubuntu/ trusty-backports main multiverse restricted universe

    deb http://debian.ustc.edu.cn/ubuntu/ trusty-proposed main multiverse restricted universe

    deb http://debian.ustc.edu.cn/ubuntu/ trusty-security main multiverse restricted universe

    deb http://debian.ustc.edu.cn/ubuntu/ trusty-updates main multiverse restricted universe

    deb-src http://debian.ustc.edu.cn/ubuntu/ trusty main multiverse restricted universe

    deb-src http://debian.ustc.edu.cn/ubuntu/ trusty-backports main multiverse restricted universe

    deb-src http://debian.ustc.edu.cn/ubuntu/ trusty-proposed main multiverse restricted universe

    deb-src http://debian.ustc.edu.cn/ubuntu/ trusty-security main multiverse restricted universe

    deb-src http://debian.ustc.edu.cn/ubuntu/ trusty-updates main multiverse restricted universe

    #sohu

    deb http://mirrors.sohu.com/ubuntu/ trusty main restricted universe multiverse

    deb http://mirrors.sohu.com/ubuntu/ trusty-security main restricted universe multiverse

    deb http://mirrors.sohu.com/ubuntu/ trusty-updates main restricted universe multiverse

    deb http://mirrors.sohu.com/ubuntu/ trusty-proposed main restricted universe multiverse

    deb http://mirrors.sohu.com/ubuntu/ trusty-backports main restricted universe multiverse

    deb-src http://mirrors.sohu.com/ubuntu/ trusty main restricted universe multiverse

    deb-src http://mirrors.sohu.com/ubuntu/ trusty-security main restricted universe multiverse

    deb-src http://mirrors.sohu.com/ubuntu/ trusty-updates main restricted universe multiverse

    deb-src http://mirrors.sohu.com/ubuntu/ trusty-proposed main restricted universe multiverse

    deb-src http://mirrors.sohu.com/ubuntu/ trusty-backports main restricted universe multiverse

    #oschina

    deb http://mirrors.oschina.net/ubuntu/ trusty main restricted universe multiverse

    deb http://mirrors.oschina.net/ubuntu/ trusty-backports main restricted universe multiverse

    deb http://mirrors.oschina.net/ubuntu/ trusty-proposed main restricted universe multiverse

    deb http://mirrors.oschina.net/ubuntu/ trusty-security main restricted universe multiverse

    deb http://mirrors.oschina.net/ubuntu/ trusty-updates main restricted universe multiverse

    deb-src http://mirrors.oschina.net/ubuntu/ trusty main restricted universe multiverse

    deb-src http://mirrors.oschina.net/ubuntu/ trusty-backports main restricted universe multiverse

    deb-src http://mirrors.oschina.net/ubuntu/ trusty-proposed main restricted universe multiverse

    deb-src http://mirrors.oschina.net/ubuntu/ trusty-security main restricted universe multiverse

    deb-src http://mirrors.oschina.net/ubuntu/ trusty-updates main restricted universe multiverse

    #北京交通大学

    deb http://mirror.bjtu.edu.cn/ubuntu/ trusty main multiverse restricted universe

    deb http://mirror.bjtu.edu.cn/ubuntu/ trusty-backports main multiverse restricted universe

    deb http://mirror.bjtu.edu.cn/ubuntu/ trusty-proposed main multiverse restricted universe

    deb http://mirror.bjtu.edu.cn/ubuntu/ trusty-security main multiverse restricted universe

    deb http://mirror.bjtu.edu.cn/ubuntu/ trusty-updates main multiverse restricted universe

    deb-src http://mirror.bjtu.edu.cn/ubuntu/ trusty main multiverse restricted universe

    deb-src http://mirror.bjtu.edu.cn/ubuntu/ trusty-backports main multiverse restricted universe

    deb-src http://mirror.bjtu.edu.cn/ubuntu/ trusty-proposed main multiverse restricted universe

    deb-src http://mirror.bjtu.edu.cn/ubuntu/ trusty-security main multiverse restricted universe

    deb-src http://mirror.bjtu.edu.cn/ubuntu/ trusty-updates main multiverse

    # 北京理工

    deb http://mirror.bjtu.edu.cn/ubuntu/ precise main multiverse restricted universe

    deb http://mirror.bjtu.edu.cn/ubuntu/ precise-backports main multiverse restricted universe

    deb http://mirror.bjtu.edu.cn/ubuntu/ precise-proposed main multiverse restricted universe

    deb http://mirror.bjtu.edu.cn/ubuntu/ precise-security main multiverse restricted universe

    deb http://mirror.bjtu.edu.cn/ubuntu/ precise-updates main multiverse restricted universe

    deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise main multiverse restricted universe

    deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-backports main multiverse restricted universe

    deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-proposed main multiverse restricted universe

    deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-security main multiverse restricted universe

    deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-updates main multiverse restricted universe

    restricted universe

    #上海交大

    deb http://ftp.sjtu.edu.cn/ubuntu/ trusty universe restricted multiverse maindeb http://ftp.sjtu.edu.cn/ubuntu/ trusty-security universe restricted multiverse maindeb http://ftp.sjtu.edu.cn/ubuntu/ trusty-updates universe restricted multiverse maindeb http://ftp.sjtu.edu.cn/ubuntu/ trusty-proposed universe restricted multiverse maindeb http://ftp.sjtu.edu.cn/ubuntu/ trusty-backports universe restricted multiverse main

    #阿里云服务器

    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

  5. 5

    (5)更新。

    Ubuntu14.04更新源

你可能感兴趣的:(linux)