页面: 1
常用的更新源:
http://mirrors.aliyun.com/
http://mirrors.163.com/ 适合电信
http://mirrors.sohu.com/ 适合联通
http://mirrors.ustc.edu.cn/ 推荐
http://ftp.sjtu.edu.cn/
http://mirrors.kernel.org
http://mirror.bit.edu.cn/web/ 北京理工大学
http://mirror.dlut.edu.cn/
http://ftp.twaren.net/ 台湾
http://mirror.peer1.net Peer1
http://mirror.bjtu.edu.cn/cn/
http://mirrors.tuna.tsinghua.edu.cn/
http://free.nchc.org.tw/pmwiki/
http://ftp.jaist.ac.jp
自己更新源sources.list文件详细内容(目前为wheezy版,相对为Testing版本)
deb http://free.nchc.org.tw/debian/ testing main non-free contrib
deb http://free.nchc.org.tw/debian/ testing-proposed-updates main non-free contrib
deb http://free.nchc.org.tw/debian-security/ testing/updates main non-free contrib
deb http://free.nchc.org.tw/debian-multimedia/ testing main non-freedeb http://mirrors.ustc.edu.cn/debian/ testing main non-free contrib
deb http://mirrors.ustc.edu.cn/debian/ testing-proposed-updates main non-free contrib
deb http://mirrors.ustc.edu.cn/debian-security/ testing/updates main non-free contrib
deb http://mirrors.ustc.edu.cn/debian-multimedia/ testing main non-free注:debian-multimedia 源需要先安装密钥
说明:http://wiki.debian.org.hk/w/Add_software_repositories_in_Debian
离线
Debian更新源说明
修改方法
#root权限下先cp /etc/apt/sources.list /etc/apt/sources.list.orig 备份文件
#然后vim /etc/apt/sources.list 也可以gedit /etc/apt/sources.list或是 nano /etc/apt/sources.list, 根据习惯来修改
# Debian 源列表说明
# 本文以 lenny 版本为例,使用时注意适当修改。
# 同一仓库的官方主站和各镜像站点只可取其一,不可叠加。
# ---------------------------------------
# 主源
# 必须,一般的包都从此获取。
# 官方主站
deb http://ftp.debian.org/debian lenny main contrib non-free
deb-src http://ftp.debian.org/debian lenny main contrib non-free
# 大陆网易镜像
deb http://mirrors.163.com/debian lenny main contrib non-free
deb-src http://mirrors.163.com/debian lenny main contrib non-free
# 台湾镜像之一
deb http://ftp.tw.debian.org/debian lenny main contrib non-free
deb-src http://ftp.tw.debian.org/debian lenny main contrib non-free
# 台湾镜像之二
deb http://ftp.twaren.net/debian lenny main contrib non-free
deb-src http://ftp.twaren.net/debian lenny main contrib non-free
# ---------------------------------------
# 计划更新
# 通常不必,发布小版本之前的测试库。该库包括所有的安全更新,有此则无需再设置安全
# 更新源。
# 官方主站
deb http://ftp.debian.org/debian lenny-proposed-updates main contrib non-free
deb-src http://ftp.debian.org/debian lenny-proposed-updates main contrib non-free
# 大陆网易镜像
deb http://mirrors.163.com/debian lenny-proposed-updates main contrib non-free
deb-src http://mirrors.163.com/debian lenny-proposed-updates main contrib non-free
# 台湾镜像之一
deb http://ftp.tw.debian.org/debian lenny-proposed-updates main contrib non-free
deb-src http://ftp.tw.debian.org/debian lenny-proposed-updates main contrib non-free
# 台湾镜像之二
deb http://ftp.twaren.net/debian lenny-proposed-updates main contrib non-free
deb-src http://ftp.twaren.net/debian lenny-proposed-updates main contrib non-free
# ---------------------------------------
# 安全更新
# 建议,若使用了计划更新源则无需此源。
# 官方主站
deb http://security.debian.org/debian-security lenny/updates main contrib non-free
deb-src http://security.debian.org/debian-security lenny/updates main contrib non-free
# 大陆网易镜像
deb http://mirrors.163.com/debian-security lenny/updates main contrib non-free
deb-src http://mirrors.163.com/debian-security lenny/updates main contrib non-free
# 台湾镜像之一
deb http://ftp.twaren.net/debian-security lenny/updates main contrib non-free
deb-src http://ftp.twaren.net/debian-security lenny/updates main contrib non-free
# ---------------------------------------
# 易变量更新
# 建议,有些软件存在部分数据经常变动,如杀软病毒库之类。
# 官方主站
deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free
# 台湾镜像之一
deb http://ftp.tw.debian.org/debian-volatile lenny/volatile main contrib non-free
deb-src http://ftp.tw.debian.org/debian-volatile lenny/volatile main contrib non-free
# ---------------------------------------
# 多媒体源
# 想当桌面用的就必须加上,解码器等都在此。
# 使用前先下载安装 http://www.debian-multimedia.org/pool/m … a-keyring/ 中的 debian-multimedia-keyring_2008.10.16_all.deb 或更新版本。
# 官方主站
deb http://www.debian-multimedia.org lenny main
deb-src http://www.debian-multimedia.org lenny main
# 台湾镜像之一
deb http://ftp.tw.debian.org/debian-multimedia lenny main
deb-src http://ftp.tw.debian.org/debian-multimedia lenny main
# ---------------------------------------
# 后备源
# 一般进入 stable 的软件都会被锁定版本,只有安全更新,绝无版本升级,但仍有部分软
# 件可能需要新版,甚至添加一些原本没有的软件,此库正为此例外情况而设。
# 使用前先下载安装 http://www.backports.org/debian/pool/ma … s-keyring/ 中的 debian-backports-keyring_2009.02.20_all.deb 或更新版本。
# 使用时带 -t lenny-backports 参数,如:
# aptitude install -R -t lenny-backports opoffice.org
# 这将安装 3.2.1 版本的 OpenOffice.org ,否则将是 2.4.1 版。
# 官方主站
deb http://www.backports.org/debian lenny-backports main contrib non-free
deb-src http://www.backports.org/debian lenny-backports main contrib non-free
# 大陆网易镜像
deb http://mirrors.163.com/debian-backport lenny-backports main contrib non-free
deb-src http://mirrors.163.com/debian-backport lenny-backports main contrib non-free
# 台湾镜像之一
deb http://ftp.tw.debian.org/backports.org lenny-backports main contrib non-free
deb-src http://ftp.tw.debian.org/backports.org lenny-backports main contrib non-free
#其他镜象
deb http://ftp.debian.org/debian/ lenny main
deb http://ftp.debian.org/debian/ lenny contrib
deb http://ftp.debian.org/debian/ lenny non-free
deb http://ftp.debian.org/debian/ stable-proposed-updates main
deb http://ftp.debian.org/debian/ stable-proposed-updates contrib
deb http://ftp.debian.org/debian/ stable-proposed-updates non-free
deb http://ftp.debian.org/debian/ stable main
deb http://ftp.debian.org/debian/ stable contrib
deb http://ftp.debian.org/debian/ stable non-free
cn99 http://debian.cn99.com/debian/
中科大 http://debian.ustc.edu.cn
大连理工 http://mirror.dlut.edu.cn/
搜狐开源镜像站 http://mirrors.sohu.com/ (支持rsync,不提供源码)
上交大 http://ftp.sjtu.edu.cn/
Shanghai Linux User Group http://mirrors.shlug.org/ (支持rsync)
下面的是KEY文件
wget http://download.tuxfamily.org/osrdebian/61B8DB62.gpg -O- | sudo apt-key add -
wget -q http://apt.jenslody.de/jens.asc -O- | sudo apt-key add -
wget -q http://apt.wxwidgets.org/key.asc -O- | sudo apt-key add -
离线
更新源可以参考:https://launchpad.net/ubuntu/+archivemirrors离线
页面: 1