debian 6.06 更新源(备份)(补充:7.00)

deiban 6.06更新源
 
修改 /etc/apt/sources.list文件,添加内容
deb http://ftp.debian.org/debian/ squeeze main non-free contrib
deb http://ftp.debian.org/debian/ squeeze-proposed-updates main non-free contrib

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

# 官方安全更新的源
deb http://security.debian.org/ squeeze/updates main

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

然后运行 # sudo apt-get update

如果还是不行,将source.list中的光盘的那行注释掉

可能出现的问题:

Err http://mirrors.163.com/debian-security/ squeeze/updates/non-free Translation-en_US
Could not resolve 'mirrors.163.com'
或者
W: Failed to fetch http://mirrors.163.com/debian-security/dists/squeeze/updates/non-free/i18n/Translation-en_US.bz2  Could not resolve 'mirrors.163.com'

等问题,多半是因为网络的问题,网上有人说可能是源被咔嚓掉了,等一段时间就好 :-(。
其实,我的问题是dns设置不对,系统看不懂mirrorsXXXXXX啦,重新改过就好了

 

补充(7.0.0更新源)

deb http://mirrors.tuna.tsinghua.edu.cn/debian/ wheezy main non-free contrib
deb http://mirrors.tuna.tsinghua.edu.cn/debian/ wheezy-proposed-updates main non-free contrib
deb http://mirrors.tuna.tsinghua.edu.cn/debian-security/ wheezy/updates main non-free contrib
deb-src http://mirrors.tuna.tsinghua.edu.cn/debian/ wheezy main non-free contrib
deb-src http://mirrors.tuna.tsinghua.edu.cn/debian/ wheezy-proposed-updates main non-free contrib
deb-src http://mirrors.tuna.tsinghua.edu.cn/debian-security/ wheezy/updates main non-free contrib

deb http://mirrors.ustc.edu.cn/debian/ wheezy main non-free contrib
deb http://mirrors.ustc.edu.cn/debian/ wheezy-proposed-updates main non-free contrib
deb http://mirrors.ustc.edu.cn/debian-security/ wheezy/updates main non-free contrib
deb-src http://mirrors.ustc.edu.cn/debian/ wheezy main non-free contrib
deb-src http://mirrors.ustc.edu.cn/debian/ wheezy-proposed-updates main non-free contrib
deb-src http://mirrors.ustc.edu.cn/debian-security/ wheezy/updates main non-free contrib

deb http://debian.bjtu.edu.cn/debian wheezy main non-free contrib
deb http://debian.bjtu.edu.cn/debian wheezy-proposed-updates main contrib non-free
deb http://debian.bjtu.edu.cn/debian-security wheezy/updates main contrib non-free
deb-src http://debian.bjtu.edu.cn/debian wheezy main non-free contrib
deb-src http://debian.bjtu.edu.cn/debian wheezy-proposed-updates main contrib non-free
deb-src http://debian.bjtu.edu.cn/debian-security wheezy/updates main contrib non-free

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

deb http://www.debian-multimedia.org/ wheezy main
deb-src http://www.debian-multimedia.org/ wheezy main 

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

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

 

你可能感兴趣的:(debian 6.06 更新源(备份)(补充:7.00))