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. ...
随机推荐
- textArea中的maxlength是无效的 解决办法
-------------------------------------------------------------------------------------- <s:texta ...
- 搭建基于hyperledger fabric的联盟社区(八) --Fabric证书解析
一.证书目录解析 通过cryptogen生成所有证书文件后,以peerOrgannizations的第一个组织树org1为例,每个目录和对应文件的功能如下: ca: 存放组织的根证书和对应的私 ...
- 关于FPGA供电
FPGA是一种多电源需求的芯片,主要有3种电源需求: VCCINT:核心工作电压,PCI Express (PCIe) 硬核IP 模块和收发器物理编码子层(PCS) 电源.一般电压都很低,目前常用的F ...
- bc显示小数点前的0
bc是强大而常用的计算工具.不过在除法运算时,如果得到的结果值小于1,得到的小数前面的0不存.本篇提供几个常用小数点前缺0的解决方法. [root@maqing ~]# bc bc Copyright ...
- idea 注册码 地址:
http://idea.lanyus.com IntelliJ IDEA 注册码 *.lanyus.com及*.qinxi1992.cn下的全部授权服务器已遭JetBrains封杀 请搭建自己的Int ...
- https 请求的端口是443 注意
注意: 这里录制https的请求 端口号一定是443 才可以抓取到!!!!!! (进坑多次)
- SpringMVC之五:自定义DispatcherServlet配置及配置额外的 servlets 和 filters
相关文章 <Servlet3.0之四:动态注册和Servlet容器初始化> <SpringBoot中通过SpringBootServletInitializer如何实现组件加载> ...
- scrapy_redis 实现多进程配置部分代码
# 启用Redis调度存储请求队列SCHEDULER = "scrapy_redis.scheduler.Scheduler"# 确保所有的爬虫通过Redis去重DUPEFILTE ...
- 关于模拟admin实现stark组件的知识点
一. url知识 还记得include分发么?里面的参数都可以有些什么? urlconf_module本质是返回的是模块路径对象 def include(arg, namespace=None, ap ...
- canvas之抒写文字
<canvas id="canvas" width="500" height="400" style="background ...