Linux

Failed to download metadata for repository ‘pgdg-common’ on CentOS 7| Bad GPG signature|Fixed|Docker



Hi all,

I was trying to install Docker in Redhat 9, then I got below error. However I fixed it.

Error-

Failed to download metadata for repository ‘pgdg-common’ on CentOS 7
Error: Failed to download metadata for repo ‘pgdg-common’: repomd.xml GPG signature verification error: Bad GPG signature

sudo dnf config-manager –add-repo=
sudo dnf install docker-ce –nobest
sudo systemctl enable –now docker

Failed to download metadata for repository ‘pgdg-common’ on CentOS 7

Solution-
cd /etc/yum.repos.d/
mv pgdg-redhat-all.repo pgdg-redhat-all.repo.old
yum update -y

#docker
#pgdg-common
#BadGPGsignature

[ad_2]

source

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button