文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>Debian 源列表说明 (关于sources.list 它已经说

Debian 源列表说明 (关于sources.list 它已经说

时间:2010-07-15  来源:jianhuali0118

#修改方法

#root权限下先cp /etc/apt/sources.list /etc/apt/sources.list_backup 备份文件

#然后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/main/d/debian-multimedia-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/main/d/debian-backports-keyring/ 中的 debian-backports-keyring_2009.02.20_all.deb 或更新版本。
# 使用时带 -t lenny-backports 参数,如:
# aptitude install -R -t lenny-backports opoffice.org
# 这将安装 3.1.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.us.debian.org/debian/ lenny main
deb http://ftp.us.debian.org/debian/ lenny contrib
deb http://ftp.us.debian.org/debian/ lenny non-free
deb http://ftp.us.debian.org/debian/ testing main
deb http://ftp.us.debian.org/debian/ testing contrib
deb http://ftp.us.debian.org/debian/ testing 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/ testing main
deb http://ftp.debian.org/debian/ testing contrib
deb http://ftp.debian.org/debian/ testing non-free


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

deb http://ftp.de.debian.org/debian/ sid main
deb http://ftp.de.debian.org/debian/ sid contrib
deb http://ftp.de.debian.org/debian/ sid 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


deb http://ftp.us.debian.org/debian/ sid main
deb http://ftp.us.debian.org/debian/ sid contrib
deb http://ftp.us.debian.org/debian/ sid non-free

deb http://ftp.us.debian.org/debian/ stable-proposed-updates main
deb http://ftp.us.debian.org/debian/ stable-proposed-updates contrib
deb http://ftp.us.debian.org/debian/ stable-proposed-updates non-free

deb http://ftp.us.debian.org/debian/ stable main
deb http://ftp.us.debian.org/debian/ stable contrib
deb http://ftp.us.debian.org/debian/ stable non-free


deb http://ftp.debian.org/debian/ sid main
deb http://ftp.debian.org/debian/ sid contrib
deb http://ftp.debian.org/debian/ sid 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




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

deb http://debian.cn99.com/debian/ stable-proposed-updates main
deb http://debian.cn99.com/debian/ stable-proposed-updates contrib
deb http://debian.cn99.com/debian/ stable-proposed-updates non-free
deb http://debian.cn99.com/debian/ stable main
deb http://debian.cn99.com/debian/ stable contrib
deb http://debian.cn99.com/debian/ stable non-free


deb http://ftp.de.debian.org/debian/ lenny main
deb http://ftp.de.debian.org/debian/ lenny contrib
deb http://ftp.de.debian.org/debian/ lenny non-free
deb http://ftp.de.debian.org/debian/ testing main
deb http://ftp.de.debian.org/debian/ testing contrib
deb http://ftp.de.debian.org/debian/ testing non-free

deb http://ftp.de.debian.org/debian/ sid main
deb http://ftp.de.debian.org/debian/ sid contrib
deb http://ftp.de.debian.org/debian/ sid non-free

deb http://ftp.de.debian.org/debian/ stable-proposed-updates main
deb http://ftp.de.debian.org/debian/ stable-proposed-updates contrib
deb http://ftp.de.debian.org/debian/ stable-proposed-updates non-free

deb http://ftp.de.debian.org/debian/ stable main
deb http://ftp.de.debian.org/debian/ stable contrib
deb http://ftp.de.debian.org/debian/ stable non-free



deb http://download.virtualbox.org/virtualbox/debian lenny non-free
deb http://http.us.debian.org/debian/ etch main contrib

deb http://http.us.debian.org/debian/ etch-proposed-updates contrib main
deb http://download.tuxfamily.org/osrdebian unstable compiz-fusion-git

deb http://security.debian.org/ lenny/updates main contrib
deb-src http://security.debian.org/ lenny/updates main contrib
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://www.debian-multimedia.org/ lenny main
deb-src http://www.debian-multimedia.org/ lenny main
deb http://apt.jenslody.de/ any main
deb-src http://apt.jenslody.de/ any main
deb http://apt.wxwidgets.org/ etch-wx main

下面的是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 -

相关阅读 更多 +
排行榜 更多 +
<img preview="http://pic.pdowncc.com/uploadimg/ico/2025/0523/1747993424374100.png" width="32" height="32" src="http://pic.pdowncc.com/uploadimg/ico/2025/0523/1747993424374100.png" alt="弓箭勇者最新版" />

<img preview="http://pic.pdowncc.com/uploadimg/ico/2025/0523/1747993424374100.png" width="32" height="32" src="http://pic.pdowncc.com/uploadimg/ico/2025/0523/1747993424374100.png" alt="弓箭勇者最新版" />

飞行射击 下载
<img preview="http://pic.pdowncc.com/uploadimg/ico/2025/0523/1747993424374100.png" width="32" height="32" src="http://pic.pdowncc.com/uploadimg/ico/2025/0523/1747993424374100.png" alt="弓箭勇者最新版" />

<img preview="http://pic.pdowncc.com/uploadimg/ico/2025/0523/1747993424374100.png" width="32" height="32" src="http://pic.pdowncc.com/uploadimg/ico/2025/0523/1747993424374100.png" alt="弓箭勇者最新版" />

飞行射击 下载
<img preview="http://pic.pdowncc.com/uploadimg/ico/2025/0523/1747993424374100.png" width="32" height="32" src="http://pic.pdowncc.com/uploadimg/ico/2025/0523/1747993424374100.png" alt="弓箭勇者最新版" />

<img preview="http://pic.pdowncc.com/uploadimg/ico/2025/0523/1747993424374100.png" width="32" height="32" src="http://pic.pdowncc.com/uploadimg/ico/2025/0523/1747993424374100.png" alt="弓箭勇者最新版" />

飞行射击 下载