免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 955 | 回复: 0
打印 上一主题 下一主题

关于源地址sources.list的书写格式以及各种dabian源 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-01-21 00:36 |只看该作者 |倒序浏览

                                                注:使用非官方源需慎重,尤其是驱动部分的更新可能会导致登录X的问题,具体是xserver-xorg的更新可能会出现问题
1、sources.list书写的方法
(1)地址:找到包含dists和pool这两个目录的地址,比如
http://mirrors.geekbone.org/debian/

(2)打开dists目录,里面包含的目录名字,记下来。比如dists/包含sarge、etch、woody、sid。
(3)打开pool目录,看看里面包含哪些组件名字,比如main、contrib、non-free;
(4)书写格式:deb   ,如:
deb
ftp://ftp.linuxforum.net/debian/
sarge main
contrib non-free
发现一个比较快的台湾地址:
http://ftp.isu.edu.tw/pub/Linux/Debian/debian/
书写了一下:
deb
http://ftp.isu.edu.tw/pub/Linux/Debian/debian/
sarge main
contrib non-free
2、国内安装源:
deb
http://mirror.geekbone.org/debian
woody mian
contrib non-free,升级前,修改/etc/apt/souces.list的内容如下:
deb
http://mirror.geekbone.org/debian
sarge main
contrib non-free
3、常用安装源
安全更新,安装的时候可以选择,不用自己加。
deb
http://security.debian.org/
sarge/updates
main contrib non-free
比较快的Asia安装源
deb
http://mirror.vmmatrix.net/debian/
testing main
deb-src
http://mirror.vmmatrix.net/debian/
testing main
发现一个比较快的台湾地址:
deb
http://ftp.isu.edu.tw/pub/Linux/Debian/debian/
sarge main
contrib non-free
国内安装源:
deb
http://debian.ustc.edu.cn/debian
sarge main
non-free contrib
deb
http://debian.ustc.edu.cn/debian-non-US
sarge/non-US
main non-free contrib
deb
http://debian.ustc.edu.cn/debian-uo
sid marillat
rareware misc ustc firefly jrfonseca java
教育网常用sources.list(以下只适用于sid即unstable用户,其它版本用户请酌情更改)
中科大
deb
ftp://debian.ustc.edu.cn/debian
unstable main
non-free contrib
deb-src
ftp://debian.ustc.edu.cn/debian
unstable main
non-free contrib
大连理工
deb
ftp://mirror.dlut.edu.cn/debian
unstable main
non-free contrib
deb-src
ftp://mirror.dlut.edu.cn/debian
unstable main
non-free contrib
清华大学
deb
ftp://ftp.tsinghua.edu.cn/mirror/debian/debian
unstable main
non-free contrib
deb-src
ftp://ftp.tsinghua.edu.cn/mirror/debian/debian
unstable main
non-freecontrib
1)非官方软件包(uo)
中科大uo仓库:
wma、ape插件for xmms,以及 realplay等:
deb
ftp://debian.ustc.edu.cn/rarewares.org
unstable main
mplayer等:
deb
ftp://debian.ustc.edu.cn/debian-uo
sid marillat
j2re, j2sdk or mozilla java plugin:
deb
ftp://debian.ustc.edu.cn/debian-uo
sid java
firefly fake bold font style package:慎重使用
deb
ftp://debian.ustc.edu.cn/debian-uo
sid firefly
gbkfonts、xpdf等:
deb
ftp://debian.ustc.edu.cn/debian-uo
sid ustc
2)其它一些uo:
Bootsplash patches and utils:
deb
http://www.bootsplash.de/files/debian
unstable main
Fangzheng Fonts、Matlab7、Mathematica、cedega等:
deb
ftp://202.38.73.198/debian
sid foo
xmms2:
deb
http://exodus.xmms.se/debian
stable main
非官方软件包查询地址:
http://www.apt-get.org/search.php
3) blackdown Java
代码:
deb ftp://metalab.unc.edu/pub/linux/
... lackdown.org/debian unstable main non-free
4) USTC 的非官方资源
代码:
deb
ftp://debian.ustc.edu.cn/debian-uo
sid marillat
rareware ustc java misc jrfonseca firefly
deb-src
ftp://debian.ustc.edu.cn/debian-uo
sid marillat
rareware ustc java misc jrfonseca firefly
5) 丰富资源
deb
http://debian.okey.net/debian/sarge
main non-free
contrib
deb
http://debian.okey.net/debian-uo/
unstable
firefly java jrfonseca marillat misc rareware ustc
deb
http://debian.okey.net/debian-non-US/
sarge/non-US
main contrib
6) 提供realplayer,mplayer,
acroreader, w32codecs, 等等
deb
ftp://ftp.nerim.net/debian-marillat/
unstable main
deb-src
ftp://ftp.nerim.net/debian-marillat/
unstable main
使用时添加到/etc/apt/sources.list里即可,但是非官方的uo软件包,使用时要慎重,以免发生依赖性错误;如需下载sources,请自行添加deb-src,后面内容相同。
7)交大的源:源码则把加上deb-src源,有各个发行版本的源,可以参考地址
ftp://ftp.sjtu.edu.cn/sites/
然后写出源:
如Debian:主要有这些版本:sarge,stable,etch,sid,testing,unstable,woody等,其中还有 etch-proposed-updates,sarge-proposed-updates,stable-proposed-updates, testing-proposed-updates,woody-proposed-updates等五个。
比如sarge版本的源可以写(其它版本只要把sarge换成相应的版本即可):
deb
ftp://ftp.sjtu.edu.cn/debian
sarge contrib
main non-free
deb
ftp://ftp.sjtu.edu.cn/debian
sarge-proposed-update contrib main non-free
安全更新的源:有etch,sarge,stable,testing,woody等五个版本
以sarge版本为例:
deb
ftp://ftp.sjtu.edu.cn/debian-security
sarge/updates
contrib main non-free
4、版本说明:
一般有三个版本:stable,testing,unstable
当前的stable是sarge,unstable是sid,testing是etch。
stable
The “stable” distribution contains the latest officially released distribution
of Debian. This is the production release of Debian, the one which we primarily
recommend using. The current “stable” distribution of Debian GNU/Linux is
version 3.1r0,codenamed sarge. It was released on June 6th, 2005.
testing
The “testing” distribution contains packages that haven't been acceptedinto a
“stable” release yet, but they are in the queue for that. Themain advantage of
using this distribution is that it has more recentversions of software. The
current “testing” distribution is etch.
unstable
The “unstable” distribution is where active development of Debianoccurs.
Generally, this distribution is run by developers and those wholike to live on
the edge. The “unstable” distribution is called sid.
stable — 最广泛的用于架设产品化服务器,因为它只包含安全更新。
testing — 推荐工作站用户使用的发行版,因为它包含有最近发布的桌面软件,这些软件已经接受了少量测试。
unstable — 处在悬崖边缘的版本,供 Debian 开发者选用。
               
               
               
               
               
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/35320/showart_468461.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP