Re: Failed to download metadata for repo 'pgdg-common'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



John Mellor wrote:
> On 04/06/2025 22:58, Sbob wrote:
>> I am trying to install PostgreSQL on RHEL10 and getting this error:
>> 
>> Error: Failed to download metadata for repo 'pgdg-common': repomd.xml
>> GPG signature verification error: Signing key not found
>> 
>> 
>> I have tried this:
>> 
>> # dnf erase pgdg-redhat-repo-42.0-53PGDG.noarch
>> # dnf --disablerepo=*  -y install https://download.postgresql.org/pub/repos/yum/reporpms/EL-10-x86_64/pgdg-redhat-repo-latest.noarch.rpm
>> 
>> 
>> However when I run this:
>> # dnf -qy module disable postgresql
>> 
>> 
>> I get:
>> 
>> Error: Failed to download metadata for repo 'pgdg-common': repomd.xml
>> GPG signature verification error: Signing key not found
> 
> 
> That looks to me like the rpm was incorrectly built.
> 
> On another note, why are you asking about RHEL in a Fedora list? Ask RedHat
> instead.

Yeah, this is well off-topic here.  A CentOS or EL forum
would be more appropriate.

I will say that it works fine in a RHEL UBI 10 container.
The `--disablerepo=*` option shouldn't be needed here; I
didn't use it for my testing.  That you had to run a dnf
erase prior says you may have installed some other
third-party packages and perhaps something in a prior step
has caused the issue you're seeing.

I don't know whether EL-10 has any modules, so the step to
disable one might not be needed.  But your issue isn't due
to that particular command anyway.

Your system has failed to import the GPG key for the
postgresql repo to the dnf database to check the repo
metadata signature (that's separate from the rpm database
used for checking the signatures on the packages
themselves).

-- 
Todd

Attachment: signature.asc
Description: PGP signature

-- 
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux