12
11

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

yumでrpmをインストールする際に、「Public Key Not Installed」が出ました

Last updated at Posted at 2016-09-15

#解決法#

yumのlocalinstallコマンドでローカルディスクにあるrpmファイルをインストールすることができますが、「Public key for ****.rpm is not installed」のようなエラーが出てくるかもしれません。それを解決する方法をまとめてみました。

  • GPGキーをインポートする 
rpm --import キーのURL
  • キーチェックを一時無効化してインストール
yum localinstall --nogpgcheck RPMファイル名
  • セッティングファイルより無効化
/etc/yum.repos.d/your_file.d

の中にgpgcheck=0を記入

#参考#

12
11
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
12
11

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?