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. ...
随机推荐
- GNU Radio: 自定义 block 实例
综述 本文通过在GNU Radio 中编写一个block的例子,系统介绍创建一个block的过程.该 block 的功能是可以在GRC中通过滑块(WX GUI Slider)来实时改变信号源(Sign ...
- pagination实现分页功能
pagination.js: /** * pagination分页插件 */ ;(function($,window,document,undefined){ //配置参数 var defaults ...
- error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
编译出现如下错误: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such ...
- PorterDuff.Mode
参考:http://weishu.me/2015/09/23/Xfermode-in-android/ Sa = Source alphaDa = Dest alphaSc = Source colo ...
- 配置IVR实现语音
1.新建系统录音档 登入FreePBX,在Admin面板下选择System Recordings,如下图: 在这个页面可以上传制作好的一些录音,例如像“欢迎致电XXX,按1中文,按2英文... ...
- 模拟admin组件自己开发stark组件之搜索和批量操作
搜索相关,搜索的本质就是从数据库查询出来的数据过滤 用户自定义给出过滤条件joker.py list_display = ('id','title','price',) show_add_btn = ...
- php redis安装使用
下载redis-windows-master.解压点击redis-server.exe运行服务端 redis设置访问密码 修改redis.conf文件配置, # requirepass foobare ...
- gil基本介绍
一 引子 定义: In CPython, the global interpreter lock, or GIL, is a mutex that prevents multiple native t ...
- aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
证券代码 证券简称 大股东持股比例 [日期] 最新 [大股东排名] 第1名 [单位] % 总市值2 [交易日期] 最新收盘日 [单位] 亿元 000004.SZ 国农科技 28.4200 23.261 ...
- ubuntu下用expect实现密码自动输入
每次笔记本一开机启动,总会连用不着且碍事的触摸板也一块启动.便想写个脚本,让电脑启动时关闭触摸板.(当然,我想更好的办法是,修改系统启动时的加载模块,让触摸板不自动加载,但是目前还不知道用这种方法怎么 ...