archives of source
“ubuntu 暂时不能解析域名 archive.ubuntu.com”怎么办?
root下输入命令:lsb_release -a用来查询Ubuntu版本号
登录网站 http://mirrors.163.com/ubuntu/ 在dist目录下面找到自己版本号
更改源,假设我的版本号是trusty
sudo vim /etc/apt/sources.list
把里面的东西改为
deb http://mirrors.163.com/ubuntu/ trusty main universe restricted multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty main universe restricted multiverse
deb http://mirrors.163.com/ubuntu/ trusty-security universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ trusty-security universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ trusty-updates universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ trusty-proposed universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ trusty-proposed universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ trusty-backports universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ trusty-backports universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ trusty-updates universe main multiverse restricted
ubuntu8.10的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
CN99
deb http://ubuntu.cn99.com/ubuntu/ trusty main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ trusty-backports main restricted universe multiverse
ubuntu 8.04的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
Mirror.lupaworld.com 源更新服务器(浙江省杭州市双线服务器,网通同电信都可以用,亚洲地区官方更新服务器):
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-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
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
台湾的官方源速度也相当不错,有时甚至快于内地的:
deb http://tw.archive.ubuntu.com/ubuntu trusty main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu trusty-security main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu trusty-proposed main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu trusty main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu trusty-security main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu trusty-proposed main restricted universe multiverse
再加个中国电信源科技大学的源(能用速度还不 错)
deb http://ubuntu.uestc.edu.cn/ubuntu/ trusty main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ trusty-backports main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ trusty-security main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ trusty main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ trusty-updates main restricted universe multiverse
防止非官方源中软件包不全的问题,请在sources.list文件中尾部添加下面这个官方源。
deb http://archive.ubuntu.org.cn/ubuntu-cn/ trusty main restricted universe multiverse
如果没有这个源,下面安装某些软件的时候会提示找不到,比如w32codecs
然后 保存编辑好的文件,执行以下命令更新。
sudo apt-get update #这一步是更新你的源列表,换源後必须执行
(如果更新速度非常慢请更换源 sudo gedit /etc/apt/sources.list )
sudo apt-get dist-upgrade #这一步是更新软件
台湾源的测试可能会慢一些,耐心等一下,换源后一般下载速度都有几十K,上百K也很正常。~要是总是用几K的外源,Ubuntu也不可能在PRC混了 ~
有的时候更新源你会出现这个问题http://archive.ubuntukylin.com:10006 xenial InRelease: 由于没有公钥,无法验证
解决办法系统设置-->软件与更新-->其他软件中把勾号去掉
archives of source的更多相关文章
- Perforce 与Source Insight, Visual Studio集成
转自:http://shashanzhao.com/archives/837.html 1.Perforce 首先需要为perforce设置系统环境变量,以便perforce命令行可以正常使用. 环境 ...
- 【转】Source Insight的Alt + W键不能使用的解决办法
转载地址:http://velep.com/archives/607.html 对于Source Insight 3.5,习惯于使用Alt + W组合键并配合数字键来切换文件窗口,带来无比的便利.但是 ...
- Linux 下安装Source Insight
第一步: 安装Wine 下面跟大家分享一下如何在Ubuntu 12.04上安装Wine 1).添加PPA -- PPA:表示 Personal Package Archives,也就是个人软件包集. ...
- Flume简介与使用(二)——Thrift Source采集数据
Flume简介与使用(二)——Thrift Source采集数据 继上一篇安装Flume后,本篇将介绍如何使用Thrift Source采集数据. Thrift是Google开发的用于跨语言RPC通信 ...
- 【转】使用XCODE 的SOURCE CONTROL 做版本控制 (1)
原文网址:http://it.zhaozhao.info/archives/60469 有一次笔者在开心项目准备尝试新的练习的时候,赫然注意到在选择档案存放位置的时候,下面有个Source Contr ...
- 使用XCODE 的SOURCE CONTROL 做版本控制 (1)
http://it.zhaozhao.info/archives/60469 这是一篇关于 开发者在修改代码中非常常用的一个功能: 应用场景: 当你将代码该的面目全非,还不如从其那,这时候又想回到 ...
- Archives for the category: Fisheye/Crucible
Archives for the category: Fisheye/Crucible Introducing FishEye and Crucible 3.0 – Search, visualize ...
- DevExpress Components16.2.6 Source Code 编译
DevExpress 是一个比较有名的界面控件套件,提供了一系列优秀的界面控件.这篇文章将展示如何在拥有源代码的情况下,对 DevExpress 的程序集进行重新编译. 特别提示:重编译后,已安装好的 ...
- [Elixir003] Mix Archives
在[Elixir001]中使用 mix escript.build 生成一个lifelog 的escript启动脚本. 今天我们尝试一下另一种方式:生成Archives. 我们先添加一个Task 1. ...
随机推荐
- C++中如何在顺序容器中删除符合特定条件的元素
以前很少做删除操作,vector一直当成数组用,而实际追求效率时又经常舍弃vector选用C风格数组.看<C++ Primer>到顺序容器删除这节时试着实现课后习题结果一动手我就出错了. ...
- 「自己开发直播」实现nginx-rtmp-module多频道输入输出与权限控制
之前写了一篇文章,利用nginx和nginx-rtmp-module实现直播. 不过,之前只是做到了能够直播而已,只能一个人推流,并没有实现多人多频道输入输出,也没有权限控制,只要知道rtmp的URL ...
- windows10 vs2015编译 带nginx-rtmp-module 模块的32位nginx
1 下载必要软件 从 http://xhmikosr.1f0.de/tools/msys/下载msys:http://xhmikosr.1f0.de/tools/msys/MSYS_MinGW-w6 ...
- Java-Runoob:Java 正则表达式
ylbtech-Java-Runoob:Java 正则表达式 1.返回顶部 1. Java 正则表达式 正则表达式定义了字符串的模式. 正则表达式可以用来搜索.编辑或处理文本. 正则表达式并不仅限于某 ...
- Web应用层协议---HTTP
处于协议栈顶层的应用层协议定义了运行在不同端系统的应用程序进程如何相互传递报文.定义内容如下: 1.交换的报文类型.请求报文和响应报文. 2.各种报文类型的语法,如报文中的各个字段及这这些字段是如何描 ...
- CentOS 7 安装Httpd(转)
实验环境:CentOS7 实验步骤: 安装httpd服务:yum -y install httpd 关闭SELinux:setenforce 0 禁用防火墙策略:iptables -F 启动httpd ...
- Dev GridControl 选择行及绑定/获取List对象
GridControl绑定List对象一般是为了获取焦点行时直接获得该行代表的List对象,或者为了实现嵌套表格,对第一中情况,起始不用绑定List,绑定DataTable也可以实现获取对应List对 ...
- 浏览器及CURL代理设置
需要代理的请求 代理服务器及端口 120.197.233.205 80 firefox为例浏览器代理设置:(浏览器端也可以通过foxyproxy插件方便设置) 选项->高级->网络-> ...
- mac 开启 chrome 和 微信开发者工具 跨域
微信开发者工具:open -n /Applications/wechatwebdevtools.app --args --disable-web-security --user-data-dir=/U ...
- teamviewer14商用试用期到期从新安装使用
teamviewer14商用试用期到期从新安装使用 1)1.退出TeamViewer远程软件,卸载软件.2)2.按键盘的[win]+[R]组合键打开[运行],输入 %appdata%3)3.在弹出的窗 ...