ubuntu 10.04源 更新源列表(转)

本文提供了一系列步骤,指导如何通过编辑sources.list文件、使用apt-get更新和升级Ubuntu系统,并介绍了多个来源,包括台湾代码、网易、搜狐和骨头源,确保获取到最新的软件包。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

台湾

代码:
deb http://tw.archive.ubuntu.com/ubuntu/ lucid main universe restricted multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu/ lucid main universe restricted multiverse
deb http://tw.archive.ubuntu.com/ubuntu/ lucid-security universe main multiverse restricted
deb-src http://tw.archive.ubuntu.com/ubuntu/ lucid-security universe main multiverse restricted
deb http://tw.archive.ubuntu.com/ubuntu/ lucid-updates universe main multiverse restricted
deb-src http://tw.archive.ubuntu.com/ubuntu/ lucid-updates universe main multiverse restricted


SRT Sources

代码:
deb http://ubuntu.srt.cn/ubuntu/ lucid main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ lucid-security main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ lucid-updates main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ lucid-proposed main restricted universe multiverse
deb http://ubuntu.srt.cn/ubuntu/ lucid-backports main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ lucid main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ lucid-security main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ lucid-updates main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ lucid-proposed main restricted universe multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ lucid-backports main restricted universe multiverse


网易(速度很快)

代码:
deb http://mirrors.163.com/ubuntu/ lucid main universe restricted multiverse
deb-src http://mirrors.163.com/ubuntu/ lucid main universe restricted multiverse
deb http://mirrors.163.com/ubuntu/ lucid-security universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ lucid-security universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ lucid-updates universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ lucid-proposed universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ lucid-proposed universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ lucid-backports universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ lucid-backports universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ lucid-updates universe main multiverse restricted



ubuntu官方上海源,提供 Kernel,Hiweed,ubuntu

代码:
deb http://mirror.rootguide.org/ubuntu/ lucid main universe restricted multiverse 
deb-src http://mirror.rootguide.org/ubuntu/ lucid main universe restricted multiverse 
deb http://mirror.rootguide.org/ubuntu/ lucid-security universe main multiverse restricted 
deb-src http://mirror.rootguide.org/ubuntu/ lucid-security universe main multiverse restricted 
deb http://mirror.rootguide.org/ubuntu/ lucid-updates universe main multiverse restricted 
deb http://mirror.rootguide.org/ubuntu/ lucid-proposed universe main multiverse restricted 
deb-src http://mirror.rootguide.org/ubuntu/ lucid-proposed universe main multiverse restricted 
deb http://mirror.rootguide.org/ubuntu/ lucid-backports universe main multiverse restricted 
deb-src http://mirror.rootguide.org/ubuntu/ lucid-backports universe main multiverse restricted 
deb-src http://mirror.rootguide.org/ubuntu/ lucid-updates universe main multiverse restricted 


搜狐

代码:
deb http://mirrors.shlug.org/ubuntu/ lucid main universe restricted multiverse 
deb-src http://mirrors.shlug.org/ubuntu/ lucid main universe restricted multiverse 
deb http://mirrors.shlug.org/ubuntu/ lucid-security universe main multiverse restricted 
deb-src http://mirrors.shlug.org/ubuntu/ lucid-security universe main multiverse restricted 
deb http://mirrors.shlug.org/ubuntu/ lucid-updates universe main multiverse restricted 
deb http://mirrors.shlug.org/ubuntu/ lucid-proposed universe main multiverse restricted 
deb-src http://mirrors.shlug.org/ubuntu/ lucid-proposed universe main multiverse restricted 
deb http://mirrors.shlug.org/ubuntu/ lucid-backports universe main multiverse restricted 
deb-src http://mirrors.shlug.org/ubuntu/ lucid-backports universe main multiverse restricted 
deb-src http://mirrors.shlug.org/ubuntu/ lucid-updates universe main multiverse restricted


骨头源,骨头源是bones7456架设的一个Ubuntu源 ,提供ubuntu,deepin

代码
deb http://ubuntu.srt.cn/ubuntu/ lucid main universe restricted multiverse 
deb-src http://ubuntu.srt.cn/ubuntu/ lucid main universe restricted multiverse 
deb http://ubuntu.srt.cn/ubuntu/ lucid-security universe main multiverse restricted 
deb-src http://ubuntu.srt.cn/ubuntu/ lucid-security universe main multiverse restricted 
deb http://ubuntu.srt.cn/ubuntu/ lucid-updates universe main multiverse restricted 
deb http://ubuntu.srt.cn/ubuntu/ lucid-proposed universe main multiverse restricted 
deb-src http://ubuntu.srt.cn/ubuntu/ lucid-proposed universe main multiverse restricted 
deb http://ubuntu.srt.cn/ubuntu/ lucid-backports universe main multiverse restricted 
deb-src http://ubuntu.srt.cn/ubuntu/ lucid-backports universe main multiverse restricted 
deb-src http://ubuntu.srt.cn/ubuntu/ lucid-updates universe main multiverse restricted
#sudo gedit /etc/apt/sources.list

将文件里的内容全部删除,当然之前也可以用sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak命令的方式进行备份,以备不时之需。然后将下列的内容粘贴进gedit后保存即可。

(注:只复制粘贴所有deb开头的行。细心的读者会发现源sources.list文件中有以许多#开头的行,这个#意味这此行为注释行,不起作用,剩余的 deb的行才是真正的源)

 

保存后输入下面的指令刷新源信息:

#sudo apt-get update

然后输入:

#sudo apt-get upgrade

就可以进行系统升级了。

 

转载于:https://www.cnblogs.com/MoShin/archive/2012/09/02/2667752.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值