How to fix no public key available for the following key IDs in debian

本文介绍了解决Debian系统中更新时遇到的公钥缺失错误的方法。通过安装debian-keyring和debian-archive-keyring包,可以有效解决apt-get更新过程中出现的公钥不可用的问题。
摘要由CSDN通过智能技术生成

http://devget.net/linux/how-to-fix-no-public-key-available-for-the-following-key-ids-in-debian/

On new debian servers, upon attempting to apt-get update you may see the following error

root@myserver:~# apt-get update
Get:1 http://security.debian.org wheezy/updates Release.gpg [1571 B]
Get:2 http://security.debian.org wheezy/updates Release [102 kB]
Get:3 http://ftp.debian.org wheezy Release.gpg [2390 B]
....
Reading package lists... Done
W: There is no public key available for the following key IDs:
9D6D8F6BC857C906
W: There is no public key available for the following key IDs:
7638D0442B90D010
The easiest way i’ve found to solve this problem is to do the following.
apt-get install debian-keyring debian-archive-keyring

Try to update again
apt-get update

And voilia! No more errors
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值