Hi,
I'm attempting to install the web version of pgAdmin4 on my Centos 8/Postgresql 
13.3 server, but all I get out the process is a .repo file. I'm following the 
rpm instructions at https://www.pgadmin.org/download/pgadmin-4-rpm/

here are the rpm -i & yum install command output. It appears to downgrade the 
rpm 2-1 version to .9-2. What's weird is at the  end of the yum install output, 
it asks to install it again, which yields nothing.  

How can I fix this? All I can find is a repo file and no code.
/root>rpm -i 
https://ftp.postgresql.org/pub/pgadmin/pgadmin4/yum/pgadmin4-redhat-repo-2-1.noarch.rpm
warning: /var/tmp/rpm-tmp.qEYzh1: Header V3 RSA/SHA256 Signature, key ID 
210976f2: NOKEY
/root>yum install pgadmin4
Last metadata expiration check: 14:57:18 ago on Sun 25 Jul 2021 07:10:01 PM PDT.
Dependencies resolved.
================================================================================================================================
 Package                                Architecture             Version        
            Repository                     Size
================================================================================================================================
Downgrading:
 pgadmin4-redhat-repo                   noarch                   0.9-2          
            pgdg-common                    11 k

Transaction Summary
================================================================================================================================
Downgrade  1 Package

Total download size: 11 k
Is this ok [y/N]: y
Downloading Packages:
pgadmin4-redhat-repo-0.9-2.noarch.rpm                                           
                5.4 kB/s |  11 kB     00:02
--------------------------------------------------------------------------------------------------------------------------------
Total                                                                           
                5.4 kB/s |  11 kB     00:02
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                            
                                            1/1
  Downgrading      : pgadmin4-redhat-repo-0.9-2.noarch                          
                                            1/2
  Running scriptlet: pgadmin4-redhat-repo-0.9-2.noarch                          
                                            1/2

pgAdmin4 is removed from PostgreSQL RPM repos. Please use upstream packages.

To install pgAdmin, run one of the following commands:

# Install for both desktop and web modes.
sudo yum install pgadmin4

# Install for desktop mode only.
sudo yum install pgadmin4-desktop

# Install for web mode only.
sudo yum install pgadmin4-web


  Cleanup          : pgadmin4-redhat-repo-2-1.noarch                            
                                            2/2
  Verifying        : pgadmin4-redhat-repo-0.9-2.noarch                          
                                            1/2
  Verifying        : pgadmin4-redhat-repo-2-1.noarch                            
                                            2/2

Downgraded:
  pgadmin4-redhat-repo-0.9-2.noarch

Complete!
/root>yum install pgadmin4
Last metadata expiration check: 15:01:28 ago on Sun 25 Jul 2021 07:10:01 PM PDT.
Package pgadmin4-redhat-repo-0.9-2.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
/root>cd /
/>find . -name "pgadmin4*" -print
./etc/yum.repos.d/pgadmin4.repo
/>cat ./etc/yum.repos.d/pgadmin4.repo
[pgAdmin4]
name=pgadmin4
baseurl=https://ftp.postgresql.org/pub/pgadmin/pgadmin4/yum/redhat/rhel-$releasever-$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/PGADMIN_PKG_KEY
/>yum install pgadmin4
Last metadata expiration check: 15:16:20 ago on Sun 25 Jul 2021 07:10:01 PM PDT.
Package pgadmin4-redhat-repo-0.9-2.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!



== end output


Thanks. Kevin  

Reply via email to