LoginSignup
20
18

More than 5 years have passed since last update.

apt-get updateで、There is no public key available と出た時の対処。

Posted at

debianサーバでapt-get updateを実施するとThere is no public key available for the following key IDsと警告が出た時の対処の備忘録です。

警告:There is no public key available

しばらく管理放置されていたDebianサーバで更新を行う事になり、apt-get updateを実施したところ、下記のような警告が出ました。

$ sudo apt-get update
<--snip-->
Fetched 18.1 MB in 10s (1,729 kB/s)                                                                                            
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
W: There is no public key available for the following key IDs:
7638D0442B90D010
W: There is no public key available for the following key IDs:
7638D0442B90D010

対処方法

  • Debian開発者のGnuPG鍵とGnuPGアーカイブ鍵をインストール
$ sudo apt-get install debian-keyring debian-archive-keyring

参考情報

debian-keyring
debian-archive-keyring

20
18
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
20
18