分享Debian源及更新源和导入公钥

(注意文章时间,不保证源长期有效)

又折腾了。新安装了Debian系的社区版系统。定制性很强,所以源的定制性也很强。。。分享Debian源及更新源和导入公钥

为了满足自己下载更新软件的需求,所以就找了国内国外的源源源~!分享Debian源及更新源和导入公钥分享Debian源及更新源和导入公钥分享Debian源及更新源和导入公钥

特地就来分享一下,也希望来交流一下各位雪藏的源啦。分享Debian源及更新源和导入公钥分享Debian源及更新源和导入公钥分享Debian源及更新源和导入公钥

文件: /etc/apt/sources.list
———————————————————————————
#

## 国内源

#163
deb http://mirrors.163.com/debian/ squeeze main non-freecontrib

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

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

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

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

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

#教育
deb http://ftp.sjtu.edu.cn/debian/ squeeze main non-freecontrib

deb http://ftp.sjtu.edu.cn/debian/ squeeze-proposed-updates maincontrib non-free

deb http://ftp.sjtu.edu.cn/debian-security/ squeeze/updates maincontrib non-free

#科技大学
#deb http://ftp.cn.debian.org/debian squeeze main contribnon-free

#deb-src http://ftp.cn.debian.org/debian squeeze main contribnon-free

# 台湾主站
#deb http://ftp.tw.debian.org/debian squeeze main contribnon-free

#deb-src http://ftp.tw.debian.org/debian squeeze main contribnon-free

#香港
#deb http://ftp.hk.debian.org/debian squeeze main contribnon-free

#deb-src http://ftp.hk.debian.org/debian squeeze main contribnon-free

# 搜狐镜像
#deb http://mirrors.sohu.com/debian squeeze main contribnon-free

#deb-src http://mirrors.sohu.com/debian squeeze main contribnon-free

#北京理工大学

deb http://mirror.bitunion.org/debian/ stable main contribnon-free

deb-src http://mirror.bitunion.org/debian/ stable main contribnon-free

##官方源

#deb http://ftp.debian.org/debian/ squeeze main contribnon-free

#deb-src http://ftp.debian.org/debian/ squeeze main contribnon-free

deb http://security.debian.org/ squeeze/updates main

deb-src http://security.debian.org/ squeeze/updates main

deb http://mirrors.kernel.org/debian/ squeeze main contribnon-free

deb-src http://mirrors.kernel.org/debian/ squeeze main contribnon-free

##dotdeb源

#官方
deb http://packages.dotdeb.org stable all

deb-src http://packages.dotdeb.org stable all

deb http://php53.dotdeb.org stable all

deb-src http://php53.dotdeb.org stable all

#dotdeb japan 源
deb http://download.softagency.net/debian/dotdeb/ stable all

deb-src http://download.softagency.net/debian/dotdeb/ stableall
—————————————————————————————
end

如果更新窝这个源list的吧,
apt-get update ,会提示还要导入公钥哦。
在这里简要说说导入:

gpg –keyserverkey服务器 --recv 公钥签名
gpg--export --armor公钥签名 | sudoapt-key add -

其中,公钥签名会在update的提示中说明的。
key服务器 可以填keyserver.ubuntu.com ,当然也可以是其他的喽。

也可以这样整合在一起滴:
apt-key adv –keyserver key服务器 –recv-keys公钥签名

XDDDDDDDD
祝大家财源滚滚~:)