Translated message

A translation of this page exists in English.

Yum repolist で "Failed to download gpg key for repo" というエラーが発生する

Solution In Progress - Updated -

Issue

  • RHEL システムで yum update を実行できません。
  • Yum repolist が GPG エラーで失敗します。
  • Red Hat リポジトリーにアクセスできません。
  • Yum repolist を実行すると、"Failed to download gpg key for repo 'PowerTools':Curl error(37):Couldn't read a file:// file for file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosoffical[Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial]" というエラーが発生します。

Environment

  • Red Hat Enterprise Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content