Re: Installing pgAdmin-web on CentOS 8 not working

From: Kevin Struckhoff <kevinstruckhoff(at)yahoo(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: "pgadmin-support(at)lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org>
Subject: Re: Installing pgAdmin-web on CentOS 8 not working
Date: 2021-07-27 19:27:25
Message-ID: 1966170709.321371.1627414045990@mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support pgsql-admin

OK I got the install to work by running this rpm command after the rpm -i command:
rpm -e pgdg-redhat-repo-42.0-19.noarch.
Now on to the setup.
Thanks. Kevin

On Tuesday, July 27, 2021, 1:29:05 AM PDT, Dave Page <dpage(at)pgadmin(dot)org> wrote:

Hi
On Mon, Jul 26, 2021 at 7:22 PM Kevin Struckhoff <kevinstruckhoff(at)yahoo(dot)com> wrote:

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

It looks to me like the repo config package was downgraded to the one in the PGDG repo. Maybe add:
exclude=pgadmin*
in your config file for the PGDG repo? 
--
Dave Page
Blog: https://pgsnake.blogspot.com
Twitter: @pgsnake

EDB: https://www.enterprisedb.com

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Kevin Struckhoff 2021-07-27 22:20:27 Resetting the pgadin4 web usto run,er credentials
Previous Message Dave Page 2021-07-27 08:28:52 Re: Installing pgAdmin-web on CentOS 8 not working

Browse pgsql-admin by date

  From Date Subject
Next Message Stephen Frost 2021-07-28 20:34:51 Re: Running PostgreSQL in Kubernetes?
Previous Message Scott Ribe 2021-07-27 16:44:28 Re: Running PostgreSQL in Kubernetes?