sources.list
一 首先谈一下源格式问题:
deb http://archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
这是官方的源.这可以分4个部分.
第一部分 | 第二部分 | 第三部分 | 第四部分 |
---|---|---|---|
软件包格式 | 软件包服务器地址 | 软件安全性分类 | 软件包自由度分类目录 |
deb/deb-src | http://archive.ubuntu.com/ubuntu/ | trusty/trusty-updates/trusty-security/trusty-backports/proposed | main、restricted、universe、multiverse |
deb:发行软件包
deb:发行源码
main:官方支持自由软件
restricted:有限所有权
universe: 社区提供支持自由软件
multiverse:版权限制
访问http://archive.ubuntu.com/ubuntu/会发现一个资源目录,其中
dist:目录包含的全是Ubuntu发行版目录及先行版本其附加仓库目录.(如:trusty、trusty-update、trusty-security、trusty-backports就是Ubuntu trusty发行版目录及其附加仓库目录)
pool:所有 Ubuntu 发布版及先行版本软件包的物理地址.根据软件自由度分类 和首字母顺序排列.
通常一个源应包括trusty/trusty-updates/trusty-security/trusty-backports/proposed多条语句,相应处替换即可.如果需要源码,在重复一边deb-src即可
二 更新/etc/apt/sources.list文件里的内容
首先备份源列表:
sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
而后用gedit或其他编辑器打开(也可以复制到windows在修改):
sudo gedit /etc/apt/sources.list
(以下源亲测可用.)
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官方提供的其他软件(第三方闭源软件等):
deb http://archive.canonical.com/ubuntu/ trusty partner
deb http://extras.ubuntu.com/ubuntu/ trusty main
网易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://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
LupaWorld 更新服务器
deb http://mirror.lupaworld.com/ubuntu trusty main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu trusty-security main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu trusty-updates main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu trusty-backports main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu trusty-proposed main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu trusty main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu trusty-security main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu trusty-updates main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu trusty-backports main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu trusty-proposed main restricted universe multiverse
deb http://mirrors.linuxstory.org/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.linuxstory.org/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.linuxstory.org/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.linuxstory.org/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.linuxstory.org/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.linuxstory.org/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.linuxstory.org/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.linuxstory.org/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.linuxstory.org/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.linuxstory.org/ubuntu/ trusty-backports main restricted universe multiverse
贝特康姆软件技术有限公司
deb http://centos.bitcomm.cn/ubuntu trusty main restricted universe multiverse
deb http://centos.bitcomm.cn/ubuntu trusty-security main restricted universe multiverse
deb http://centos.bitcomm.cn/ubuntu trusty-updates main restricted universe multiverse
deb http://centos.bitcomm.cn/ubuntu trusty-backports main restricted universe multiverse
deb http://centos.bitcomm.cn/ubuntu trusty-proposed main restricted universe multiverse
deb-src http://centos.bitcomm.cn/ubuntu trusty main restricted universe multiverse
deb-src http://centos.bitcomm.cn/ubuntu trusty-security main restricted universe multiverse
deb-src http://centos.bitcomm.cn/ubuntu trusty-updates main restricted universe multiverse
deb-src http://centos.bitcomm.cn/ubuntu trusty-backports main restricted universe multiverse
deb-src http://centos.bitcomm.cn/ubuntu trusty-proposed 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
清华大学更新服务器
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-backports main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-proposed 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 restricted universe
北京理工大学更新服务器
deb http://mirror.bit.edu.cn/ubuntu/ trusty main restricted universe multiverse
deb http://mirror.bit.edu.cn/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirror.bit.edu.cn/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirror.bit.edu.cn/ubuntu/ trusty-backports main restricted universe multiverse
deb http://mirror.bit.edu.cn/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirror.bit.edu.cn/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirror.bit.edu.cn/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirror.bit.edu.cn/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirror.bit.edu.cn/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirror.bit.edu.cn/ubuntu/ trusty-proposed main restricted universe multiverse
大连理工大学更新服务器
deb http://mirror.dlut.edu.cn/ubuntu/ trusty main restricted universe multiverse
deb http://mirror.dlut.edu.cn/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirror.dlut.edu.cn/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirror.dlut.edu.cn/ubuntu/ubuntu trusty-backports main restricted universe multiverse
deb http://mirror.dlut.edu.cn/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirror.dlut.edu.cn/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirror.dlut.edu.cn/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirror.dlut.edu.cn/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirror.dlut.edu.cn/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirror.dlut.edu.cn/ubuntu/ trusty-proposed main restricted universe multiverse
上海交通大学更新服务器
deb http://ftp.sjtu.edu.cn/ubuntu/ trusty main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ trusty-backports main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ trusty-proposed main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ trusty-security main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ trusty-updates main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ trusty main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ trusty-backports main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ trusty-proposed main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ trusty-security main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ trusty-updates main multiverse restricted universe
华中科技大学更新服务器
deb http://mirrors.hust.edu.cn/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.hust.edu.cn/ubuntu/ trusty-backports restricted universe multiverse
deb http://mirrors.hust.edu.cn/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.hust.edu.cn/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.hust.edu.cn/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.hust.edu.cn/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.hust.edu.cn/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.hust.edu.cn/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.hust.edu.cn/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.hust.edu.cn/ubuntu/ trusty-updates main restricted universe multiverse
香港中文大学更新服务器
deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu trusty main restricted universe multiverse
deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu trusty-security main restricted universe multiverse
deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu trusty-updates main restricted universe multiverse
deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu trusty-backports main restricted universe multiverse
deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu trusty-proposed main restricted universe multiverse
deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu trusty main restricted universe multiverse
deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu trusty-security main restricted universe multiverse
deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu trusty-updates main restricted universe multiverse
deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu trusty-backports main restricted universe multiverse
deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu trusty-proposed main restricted universe
文章最后发布于: 2018-09-04 12:50:37
相关阅读
• 1. 首先备份源列表 首先备份源列表 sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup • 2. 而后打开sour
以ubuntu14.04为例touch 作用:创建文件语法1:touch 文件路径(路径可以是直接的文件名也可以是路径)使用touch可以同时创建多个文件
新手入驻淘宝,店铺已经审核通过了,接下来就有一大堆事情要做,很多新手卖家,在申请完店铺后,不管三七二十一,就直接去找货源,不管定位跟考
近日,视源股份(CVTE)2019届春季校园招聘正式启动。在2018年的校园招聘中,视源股份(CVTE)踏足了广州、长沙、厦门、武汉、杭州等全国
1.首先得先下载JDK和eclipse jdk下载网址:http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.ht