PostgreSQL common RPMs for RHEL / Rocky 8 - x86_64 353 B/s | 659 B 00:01
PostgreSQL common RPMs for RHEL / Rocky 8 - x86_64 0.0 B/s | 0 B 00:00
Errors during downloading metadata for repository 'pgdg-common':
- Curl error (37): Couldn't read a file:// file for file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG [Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG]
Error: Failed to retrieve GPG key for repo 'pgdg-common': Curl error (37): Couldn't read a file:// file for file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG [Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG]
[oracle@pm ~]$ cd /etc/yum.repos.d/
sudo rm pg*
-- Note :- just remove the package which having error as above and then you're good to go --
# mkdir /var/lib/rpm/backup # cp -a /var/lib/rpm/__db* /var/lib/rpm/backup/ # rm -f /var/lib/rpm/__db.[0-9][0-9]* # rpm --quiet -qa # rpm --rebuilddb # yum clean all
No comments:
Post a Comment