Thread: BUG #18180: Maybe a bug? repomd.xml signature could not be verified for pgdg-common
BUG #18180: Maybe a bug? repomd.xml signature could not be verified for pgdg-common
From
PG Bug reporting form
Date:
The following bug has been logged on the website: Bug reference: 18180 Logged by: jared powell Email address: jared.powell@icf.com PostgreSQL version: 16.0 Operating system: CentOS 7 Description: attempting to install on CentOS 7 and receiving the following error - #7 272.0 https://download.postgresql.org/pub/repos/yum/common/redhat/rhel-7-aarch64/repodata/repomd.xml: [Errno -1] repomd.xml signature could not be verified for pgdg-common #7 272.0 Trying other mirror. #7 272.0 #7 272.0 #7 272.0 One of the configured repositories failed (PostgreSQL common RPMs for RHEL / CentOS 7 - aarch64), #7 272.0 and yum doesn't have enough cached data to continue. At this point the only #7 272.0 safe thing yum can do is fail. There are a few ways to work "fix" this: #7 272.0 #7 272.0 1. Contact the upstream for the repository and get them to fix the problem. #7 272.0 #7 272.0 2. Reconfigure the baseurl/etc. for the repository, to point to a working #7 272.0 upstream. This is most often useful if you are using a newer #7 272.0 distribution release than is supported by the repository (and the #7 272.0 packages for the previous distribution release still work). #7 272.0 #7 272.0 3. Run the command with the repository temporarily disabled #7 272.0 yum --disablerepo=pgdg-common ... #7 272.0 #7 272.0 4. Disable the repository permanently, so yum won't use it by default. Yum #7 272.0 will then just ignore the repository until you permanently enable it #7 272.0 again or use --enablerepo for temporary usage: #7 272.0 #7 272.0 yum-config-manager --disable pgdg-common #7 272.0 or #7 272.0 subscription-manager repos --disable=pgdg-common #7 272.0 #7 272.0 5. Configure the failing repository to be skipped, if it is unavailable. #7 272.0 Note that yum will try to contact the repo. when it runs most commands, #7 272.0 so will have to try and fail each time (and thus. yum will be be much #7 272.0 slower). If it is a very temporary problem though, this is often a nice #7 272.0 compromise: #7 272.0 #7 272.0 yum-config-manager --save --setopt=pgdg-common.skip_if_unavailable=true #7 272.0 #7 272.0 failure: repodata/repomd.xml from pgdg-common: [Errno 256] No more mirrors to try. #7 272.0 https://download.postgresql.org/pub/repos/yum/common/redhat/rhel-7-aarch64/repodata/repomd.xml: [Errno -1] repomd.xml signature could not be verified for pgdg-common I have seen reports in some mail lists that this was fixed at some point, but it is not working currently. I have tried other PG installs/versions all throw the same error. Thank you. -jared