0
1

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.

[DataDog][AWS]GPGキーが違うと言われてエージェントが更新できない場合の対処法

Last updated at Posted at 2019-10-01

環境

  • Amazon Linux Ami 2

現象

sudo yum update しようとすると、以下のようなメッセージが出て更新できない。

The GPG keys listed for the "Datadog, Inc." repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.

解決策

いつの間にかGPGキーが増えているので、それを足す。

sudo vi /etc/yum.repos.d/datadog.repo

 gpgkey=https://yum.datadoghq.com/DATADOG_RPM_KEY.public
+       https://yum.datadoghq.com/DATADOG_RPM_KEY_E09422B3.public

その後、 sudo yum update すると、更新できた。

参考(?)

0
1
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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?