/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
/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
相关文章推荐
- E:安装源配置文件“/etc/apt/sources.list"第59行有错误(发行版解析) 出错原因
- E: 无法识别在安装源列表 /etc/apt/sources.list 里,第 64 行中的软件包类别“http://mirror.lupaworld.com/ubuntu”
- ubuntu中的/etc/apt/sources.list.d
- [Linux] /etc/apt/sources.list使用阿里云镜像
- /etc/apt/sources.list -- 乌班图国内更新源 ubuntu
- ubuntu的更新错误-在源列表 /etc/apt/sources.list.d/google-chrome.list 中第 1 行有误 (类型)
- Debian 6.0.6 系统安装第一步: 更新/etc/apt/sources.list
- Modify the /etc/apt/sources.list for Ubuntu
- ubuntu原来/etc/apt/sources.list中的内容
- ubuntu的更新错误-在源列表 /etc/apt/sources.list.d/google-chrome.list 中第 1 行有误 (类型)
- 解决Malformed line 1 in source list /etc/apt/sources.list.d/google-chrome.list (type)
- E: Package 'package ' has no installation candidate的原因分析 /etc/apt/sources.list
- E: Package 'package ' has no installation candidate的原因分析 /etc/apt/sources.list
- /etc/apt/sources.list
- 如何在/etc/apt/sources.list添加新内容
- Debian /etc/apt/sources.list
- /etc/apt/sources.list ubuntu
- 2012-06-10 21:01 /etc/apt/sources.list -- 乌班图国内更新源 ubuntu
- Ubuntu 16.04安装Chrome浏览器时提示:N: 忽略‘google-chrome.list.1’(于目录‘/etc/apt/sources.list.d/’),鉴于它的文件扩展名无效
- ubuntu更换apt服务器(sudo gedit /etc/apt/sources.list 填写内容)