/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