Got a machine running postgres 9.1.2. I need to downgrade it to 9.0.5 to match a cluster. Problem is YUM (RPM) keeps claiming to be unable to import a key, even though the key is right there where it should be.
The contents of /etc/pki/rpm-gpg/ --
drwxr-xr-x. 10 root root 4096 Oct 29 2011 ..
-rw-r--r--. 1 root root 1726 Sep 26 2011 RPM-GPG-KEY-PGDG-90
Here is what happens when I try to reinstall.
[root@postgres-02 ~]# yum reinstall pgdg-redhat90-9.0-5.noarch.rpm
Loaded plugins: product-id, subscription-manager
Updating Red Hat repositories.
Setting up Reinstall Process
Examining pgdg-redhat90-9.0-5.noarch.rpm: pgdg-redhat90-9.0-5.noarch
Resolving Dependencies
--> Running transaction check
---> Package pgdg-redhat90.noarch 0:9.0-5 will be reinstalled
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Reinstalling:
pgdg-redhat90 noarch 9.0-5 /pgdg-redhat90-9.0-5.noarch 2.1 k
Transaction Summary
================================================================================
Reinstall 1 Package(s)
Total size: 2.1 k
Installed size: 2.1 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : pgdg-redhat90-9.0-5.noarch 1/1
Non-fatal POSTIN scriptlet failure in rpm package pgdg-redhat90-9.0-5.noarch
error: /etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-90: key 1 import failed.
warning: %post(pgdg-redhat90-9.0-5.noarch) scriptlet failed, exit status 1
duration: 291(ms)
Installed products updated.
Installed:
pgdg-redhat90.noarch 0:9.0-5
Complete!
But nothing has happened, the nothings has been changed or installed, postgres is still postgres 9.1.2.
The contents of /etc/pki/rpm-gpg/ --
drwxr-xr-x. 10 root root 4096 Oct 29 2011 ..
-rw-r--r--. 1 root root 1726 Sep 26 2011 RPM-GPG-KEY-PGDG-90
Here is what happens when I try to reinstall.
[root@postgres-02 ~]# yum reinstall pgdg-redhat90-9.0-5.noarch.rpm
Loaded plugins: product-id, subscription-manager
Updating Red Hat repositories.
Setting up Reinstall Process
Examining pgdg-redhat90-9.0-5.noarch.rpm: pgdg-redhat90-9.0-5.noarch
Resolving Dependencies
--> Running transaction check
---> Package pgdg-redhat90.noarch 0:9.0-5 will be reinstalled
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Reinstalling:
pgdg-redhat90 noarch 9.0-5 /pgdg-redhat90-9.0-5.noarch 2.1 k
Transaction Summary
================================================================================
Reinstall 1 Package(s)
Total size: 2.1 k
Installed size: 2.1 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : pgdg-redhat90-9.0-5.noarch 1/1
Non-fatal POSTIN scriptlet failure in rpm package pgdg-redhat90-9.0-5.noarch
error: /etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-90: key 1 import failed.
warning: %post(pgdg-redhat90-9.0-5.noarch) scriptlet failed, exit status 1
duration: 291(ms)
Installed products updated.
Installed:
pgdg-redhat90.noarch 0:9.0-5
Complete!
But nothing has happened, the nothings has been changed or installed, postgres is still postgres 9.1.2.