LoginSignup
0
0

More than 3 years have passed since last update.

elasticbeanstalkでGPG keyを追加

Posted at

要約

  • aws elasticbeanstalkでデプロイ中に以下のようなエラーが出る The GPG keys listed for the "xxx" repository are already installed but they are not correct for this package
  • 手動で追加したリポジトリのGPG keyをインポートできてなかった
  • .ebextensionsにインポートコマンドを追加して解決

エラー

The GPG keys listed for the "xxx" repository are already installed but they are not correct for this package

GPG keyとは
yumやapt-getでインストールするパッケージの検証用鍵
https://tech.nikkeibp.co.jp/it/article/Keyword/20091204/341579/

あるパッケージのgpg keyをimportできてなかったのでeb deploy中にエラーになっていた

解決法

commands:
    import-gpg-key:
        command: rpm --import https://path-to-gpg-key
        command: rpm --import https://path-to-gpg-key
0
0
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
0
0