pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedInstalling pgAdmin-web on CentOS 8 not working
4+ messages / 2 participants
[nested] [flat]
* Installing pgAdmin-web on CentOS 8 not working
@ 2021-07-26 17:30 Kevin Struckhoff <kevinstruckhoff@yahoo.com>
2021-07-26 18:22 ` Installing pgAdmin-web on CentOS 8 not working Kevin Struckhoff <kevinstruckhoff@yahoo.com>
0 siblings, 1 reply; 4+ messages in thread
From: Kevin Struckhoff @ 2021-07-26 17:30 UTC (permalink / raw)
To: pgsql-admin
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
^ permalink raw reply [nested|flat] 4+ messages in thread
* Installing pgAdmin-web on CentOS 8 not working
2021-07-26 17:30 Installing pgAdmin-web on CentOS 8 not working Kevin Struckhoff <kevinstruckhoff@yahoo.com>
@ 2021-07-26 18:22 ` Kevin Struckhoff <kevinstruckhoff@yahoo.com>
2021-07-27 08:28 ` Re: Installing pgAdmin-web on CentOS 8 not working Dave Page <dpage@pgadmin.org>
0 siblings, 1 reply; 4+ messages in thread
From: Kevin Struckhoff @ 2021-07-26 18:22 UTC (permalink / raw)
To: pgadmin-support@lists.postgresql.org <pgadmin-support@lists.postgresql.org>
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
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Installing pgAdmin-web on CentOS 8 not working
2021-07-26 17:30 Installing pgAdmin-web on CentOS 8 not working Kevin Struckhoff <kevinstruckhoff@yahoo.com>
2021-07-26 18:22 ` Installing pgAdmin-web on CentOS 8 not working Kevin Struckhoff <kevinstruckhoff@yahoo.com>
@ 2021-07-27 08:28 ` Dave Page <dpage@pgadmin.org>
2021-07-27 19:27 ` Re: Installing pgAdmin-web on CentOS 8 not working Kevin Struckhoff <kevinstruckhoff@yahoo.com>
0 siblings, 1 reply; 4+ messages in thread
From: Dave Page @ 2021-07-27 08:28 UTC (permalink / raw)
To: Kevin Struckhoff <kevinstruckhoff@yahoo.com>; +Cc: pgadmin-support@lists.postgresql.org <pgadmin-support@lists.postgresql.org>
Hi
On Mon, Jul 26, 2021 at 7:22 PM Kevin Struckhoff <kevinstruckhoff@yahoo.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
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Installing pgAdmin-web on CentOS 8 not working
2021-07-26 17:30 Installing pgAdmin-web on CentOS 8 not working Kevin Struckhoff <kevinstruckhoff@yahoo.com>
2021-07-26 18:22 ` Installing pgAdmin-web on CentOS 8 not working Kevin Struckhoff <kevinstruckhoff@yahoo.com>
2021-07-27 08:28 ` Re: Installing pgAdmin-web on CentOS 8 not working Dave Page <dpage@pgadmin.org>
@ 2021-07-27 19:27 ` Kevin Struckhoff <kevinstruckhoff@yahoo.com>
0 siblings, 0 replies; 4+ messages in thread
From: Kevin Struckhoff @ 2021-07-27 19:27 UTC (permalink / raw)
To: Dave Page <dpage@pgadmin.org>; +Cc: pgadmin-support@lists.postgresql.org <pgadmin-support@lists.postgresql.org>
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@pgadmin.org> wrote:
Hi
On Mon, Jul 26, 2021 at 7:22 PM Kevin Struckhoff <kevinstruckhoff@yahoo.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
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2021-07-27 19:27 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-07-26 17:30 Installing pgAdmin-web on CentOS 8 not working Kevin Struckhoff <kevinstruckhoff@yahoo.com>
2021-07-26 18:22 ` Kevin Struckhoff <kevinstruckhoff@yahoo.com>
2021-07-27 08:28 ` Dave Page <dpage@pgadmin.org>
2021-07-27 19:27 ` Kevin Struckhoff <kevinstruckhoff@yahoo.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox