您的位置:首页 > 其它

/etc/apt/sources.list

2010-07-24 14:00 429 查看
/etc/apt/sources.list

/var/lib/apt/lists

deb [web或ftp地址] [发行版名字] [main/contrib/non-free]

deb http://http.us.debian.org/debian/ lenny contrib main

debian目录中有个dist目录是默认添加的,lenny是dist目录下的一个最新的stable版本,还有其他的old或testing以及unstable版,main和contrib是lenny下的两个目录(有些还包括一个叫non-free的目录),non-US是非美国的,牵扯到一些由于版权以及加密的软件,它下面同样有main contrib。

debian 7 (Wheezy)

deb http://ftp.tw.debian.org/debian/ wheezy main contrib non-free

deb-src http://ftp.tw.debian.org/debian wheezy main contrib non-free

debian 6 (squeeze)

# deb cdrom:[Debian GNU/Linux testing _Squeeze_ - Official Snapshot i386 CD Binary-1 20101227-19:42]/ squeeze main

deb http://mirrors.163.com/debian squeeze main non-free contrib

deb http://mirrors.163.com/debian squeeze-proposed-updates main contrib non-free

deb http://mirrors.163.com/debian-security squeeze/updates main contrib non-free

deb-src http://mirrors.163.com/debian squeeze main non-free contrib

deb-src http://mirrors.163.com/debian squeeze-proposed-updates main contrib non-free

deb-src http://mirrors.163.com/debian-security squeeze/updates main contrib non-free

Debian Lenny源已经被官方归档

deb http://archive.debian.org/debian-archive/debian/ lenny main contrib non-free

deb-src http://archive.debian.org/debian-archive/debian/ lenny main contrib non-free

提示

W: There is no public key available for the following key IDs:

AED4B06F473041FA

W: You may want to run apt-get update to correct these problems

解决办法

apt-get install debian-keyring debian-archive-keyring

apt-key update
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: