解决update时key不可用的问题

debian/ubuntu在进行自动更新时候可能会遇到“There is no public key available for the following key IDs”的错误提示
可以通过以下命令解决:
apt-get install debian-keyring debian-archive-keyring
apt-key update

之后再运行
apt-get update && apt-get upgrade
即可!

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据