ubuntu 源(7.04)设置的正确方法

本文提供了一种设置Ubuntu 7.04版本软件源的方法。通过编辑sources.list文件并替换为新的镜像站点地址,可以有效提升软件包的下载速度。文中列举了多个国内外可用的更新服务器地址。

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

设置ubuntu 源(7.04)

打开Ubuntu的终端,输入

sudo gedit /etc/apt/sources.list

删掉里边所有旧的内容,把新的源列表内容贴进去

再执行:

sudo apt-get update

就可以生效。



# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://cn.archive.ubuntu.com/ubuntu/ feisty main restricted
deb-src http://cn.archive.ubuntu.com/ubuntu/ feisty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ feisty-updates main restricted
deb-src http://cn.archive.ubuntu.com/ubuntu/ feisty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://cn.archive.ubuntu.com/ubuntu/ feisty universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ feisty universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://cn.archive.ubuntu.com/ubuntu/ feisty multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ feisty multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://cn.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu feisty-security main restricted
deb-src http://security.ubuntu.com/ubuntu feisty-security main restricted
deb http://security.ubuntu.com/ubuntu feisty-security universe
deb-src http://security.ubuntu.com/ubuntu feisty-security universe
deb http://security.ubuntu.com/ubuntu feisty-security multiverse
deb-src http://security.ubuntu.com/ubuntu feisty-security multiverse



deb http://ubuntu.cn99.com/ubuntu/ feisty main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ feisty-backports main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu-cn/ feisty main restricted universe multiverse

deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-updates main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-backports main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-security main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-proposed main multiverse restricted universe
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-proposed main restricted universe multiverse
deb http://apt.tt-solutions.com/ubuntu/ feisty main

deb http://ubuntu.beryl-project.org/ feisty main
deb-src http://ubuntu.beryl-project.org feisty main
# Treviño's Beryl-SVN Ubuntu Repository
# GPG key: 81836EBF
deb http://3v1n0.tuxfamily.org feisty beryl-svn

deb http://debian.okey.net/debian-uo sid firefly java marillat misc rareware

deb http://debian.cn99.com/debian testing main contrib non-free

deb-src http://debian.cn99.com/debian testing main contrib non-free

# deb ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu-cn/ breezy main restricted universe multiverse bleeding

#deb ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu/ feisty main restricted universe multiverse
#deb ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu/ feisty-security main restricted universe multiverse
#deb ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu/ feisty-updates main restricted universe multiverse

#deb ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu/ breezy main restricted universe multiverse
#deb ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu/ breezy-security main restricted universe multiverse
#deb ftp://ftp3.tsinghua.edu.cn/mirror/ubuntu/ubuntu/ breezy-updates main restricted universe multiverse

# deb ftp://ftp.sjtu.edu.cn/sites/archive.ubuntu.com/ breezy main restricted universe multiverse bleeding


# deb ftp://ftp.sjtu.edu.cn/sites/archive.ubuntu.com/ feisty main restricted universe multiverse
# deb ftp://ftp.sjtu.edu.cn/sites/archive.ubuntu.com/ feisty-security main restricted universe multiverse
# deb ftp://ftp.sjtu.edu.cn/sites/archive.ubuntu.com/ feisty-updates main restricted universe multiverse

# deb ftp://ftp.sjtu.edu.cn/sites/archive.ubuntu.com/ breezy main restricted universe multiverse
# deb ftp://ftp.sjtu.edu.cn/sites/archive.ubuntu.com/ breezy-security main restricted universe multiverse
# deb ftp://ftp.sjtu.edu.cn/sites/archive.ubuntu.com/ breezy-updates main restricted universe multiverse
#清华自动化
# deb ftp://166.111.72.5/mirror/ubuntu/ubuntu/ feisty main restricted universe multiverse
# deb ftp://166.111.72.5/mirror/ubuntu/ubuntu/ feisty-security main restricted universe multiverse
# deb ftp://166.111.72.5/mirror/ubuntu/ubuntu/ feisty-updates main restricted universe multiverse
# deb ftp://166.111.72.5/mirror/ubuntu/ubuntu/ breezy main restricted universe multiverse
# deb ftp://166.111.72.5/mirror/ubuntu/ubuntu/ breezy-security main restricted universe multiverse
# deb ftp://166.111.72.5/mirror/ubuntu/ubuntu/ breezy-updates main restricted universe multiverse

# deb ftp://166.111.72.5/mirror/debian/debian/ sarge main non-free contrib
# deb ftp://166.111.72.5/mirror/debian/debian-security/ sarge/updates main contrib non-free
# deb ftp://166.111.72.5/mirror/debian/debian/ sid main non-free contrib
# deb ftp://166.111.72.5/mirror/debian/debian/ etch main contrib non-free
# deb ftp://166.111.72.5/mirror/debian/debian/ ../project/experimental main contrib non-free
# deb ftp://ftp.tsinghua.edu.cn/mirror/debian/debian/ sarge main non-free contrib



# deb ftp://ftp.tsinghua.edu.cn/mirror/debian/debian/ etch main non-free contrib
# deb ftp://ftp.tsinghua.edu.cn/mirror/debian/debian/ sid main non-free contrib
# deb ftp://ftp.tsinghua.edu.cn/mirror/debian/debian/ ../project/experimental main contrib non-free
# deb ftp://ftp.tsinghua.edu.cn/mirror/debian/debian-unofficial/ sid marillat rareware java
# deb ftp://ftp.tsinghua.edu.cn/mirror/debian/debian-unofficial/ sid firefly ustc
# deb http://debian.ustc.edu.cn/debian/ sarge main non-free contrib
deb http://debian.ustc.edu.cn/debian/ sid main non-free contrib
deb http://debian.ustc.edu.cn/debian/ ../project/experimental main non-free contrib
deb http://debian.ustc.edu.cn/debian-uo/ sid marillat rareware java jrfonseca
deb http://debian.ustc.edu.cn/debian-uo/ sid misc ustc
deb http://debian.ustc.edu.cn/debian-uo/ sid firefly

#beryl svn 源

deb http://download.tuxfamily.org/3v1deb feisty beryl-svn



#compiz

deb http://www.beerorkid.com/compiz feisty main
deb http://ubuntu.beryl-project.org/ feisty main aiglx
deb http://media.blutkind.org/xgl/ feisty main
deb http://compiz-mirror.lupine.me.uk/ feisty main
deb http://ubuntu.compiz.net/ feisty main




#欧洲官方源

deb http://archive.ubuntu.com/ubuntu/ feisty main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ feisty-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ feisty-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ feisty-backports main restricted universe multiverse
deb http://archive.ubuntu.org.cn/ubuntu-cn/ feisty main restricted universe multiverse

#Ubuntu.cn99.com 更新服务器(江苏省常州市电信,推荐电信用户使用。)

deb http://ubuntu.cn99.com/ubuntu/ feisty main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ feisty-backports main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu-cn/ feisty main restricted universe multiverse

#Mirror.lupaworld.com 更新服务器(浙江省杭州市电信,亚洲地区官方更新服务器,推荐全国用户使用。):

deb http://cn.archive.ubuntu.com/ubuntu feisty main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu feisty-security main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu feisty-updates main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu/ubuntu-cn feisty main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu feisty-security main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty-security main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty-updates main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu feisty-security main restricted universe multiverse

#上海市 上海交通大学 更新服务器(教育网,推荐校园网和网通用户使用。):

deb http://ftp.sjtu.edu.cn/ubuntu/ feisty main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-backports main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-proposed main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-security main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ feisty-updates main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu-cn/ feisty main multiverse restricted universe

#北京市清华大学 更新服务器(教育网,推荐校园网和网通用户使用。ps:北京网通连接不上,你可以试试,如果也连接不上的话就注释掉):

deb http://mirror.net9.org/ubuntu/ feisty main multiverse restricted universe
deb http://mirror.net9.org/ubuntu/ feisty-backports main multiverse restricted universe
deb http://mirror.net9.org/ubuntu/ feisty-proposed main multiverse restricted universe
deb http://mirror.net9.org/ubuntu/ feisty-security main multiverse restricted universe
deb http://mirror.net9.org/ubuntu/ feisty-updates main multiverse restricted universe
deb http://mirror.net9.org/ubuntu-cn/ feisty main multiverse restricted universe

#中国 台湾省台湾大学 更新服务器(推荐网通用户使用,电信PING平均响应速度41MS。)

deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-updates main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-backports main restricted universe multiverse
deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ feisty-security main restricted universe multiverse
deb http://ftp.sjtu.edu.cn/ubuntu-cn/ feisty main multiverse restricted universe


#Mirror.vmmatrix.net 更新服务器(上海市电信,推荐电信网通用户使用。ps:北京网通连接不上):

deb http://mirror.vmmatrix.net/ubuntu/ feisty main restricted universe multiverse
deb-src http://mirror.vmmatrix.net/ubuntu/ feisty main restricted universe multiverse
deb http://mirror.vmmatrix.net/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://mirror.vmmatrix.net/ubuntu/ feisty-updates main restricted universe multiverse
deb http://mirror.vmmatrix.net/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://mirror.vmmatrix.net/ubuntu/ feisty-backports main restricted universe multiverse
deb http://mirror.vmmatrix.net/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://mirror.vmmatrix.net/ubuntu/ feisty-security main restricted universe multiverse
deb http://ftp.sjtu.edu.cn/ubuntu-cn/ feisty main multiverse restricted universe

#ubuntu.cnsite.org 更新服务器 (福建省福州市 电信):

deb http://ubuntu.cnsite.org/ubuntu/ feisty main restricted universe multiverse
deb-src http://ubuntu.cnsite.org/ubuntu/ feisty main restricted universe multiverse
deb http://ubuntu.cnsite.org/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://ubuntu.cnsite.org/ubuntu/ feisty-updates main restricted universe multiverse
deb http://ubuntu.cnsite.org/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://ubuntu.cnsite.org/ubuntu/ feisty-backports main restricted universe multiverse
deb http://ubuntu.cnsite.org/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://ubuntu.cnsite.org/ubuntu/ feisty-security main restricted universe multiverse
deb http://ubuntu.cnsite.org/ubuntu-cn/ feisty main multiverse restricted universe

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值