当前位置首页 > Debian知识

apt-keyDebianpackages密钥管理命令

阅读次数:215 次  来源:admin  发布时间:

adv子命令

Pass advanced options to gpg. With adv --recv-key you can e.g. download key from keyservers directly into the the trusted set of keys. Note that there are no checks performed, so it is easy to completely undermine the apt-secure(8) infrastructure if used without care.

将高级选项传递给GPG,使用 --recv-key选项,可以从密钥服务器直接下载密钥到可信任的密钥列表。请注意,因为没有核查所以很容易损坏apt-secure的基础结构,如果你不小必使用。

apt-key adv --keyserver keyserver.ubuntu.com --recv-key ****`

apt-key list #列出已保存在系统中key。

apt-key add keyname #把下载的key添加到本地trusted数据库中。

apt-key del keyname #从本地trusted数据库删除key。

apt-key update #更新本地trusted数据库,删除过期没用的key。

---------------------

上一篇:centos下httpd-2.4的编译安装
下一篇:suselinux环境安装部署subvision