Hello Team,
I am trying to install pgadmin4 from rpm since my machine doesn't have internet access to connect to the repo.
I have manually installed python3 and have set python3 as the default python.
When I try to install the pgadmin server rpm, it throws the following error. Any help would be much appreciated:
[hadoop@v11 pgadmin]$ rpm -ivv pgadmin4-server-5.1-1.el7.x86_64.rpm
D: ============== pgadmin4-server-5.1-1.el7.x86_64.rpm
D: loading keyring from pubkeys in /var/lib/rpm/pubkeys/*.key
D: couldn't find any keys in /var/lib/rpm/pubkeys/*.key
D: loading keyring from rpmdb
D: serialize failed, using private dbenv
D: opening db environment /var/lib/rpm cdb:private:0x401
D: opening db index /var/lib/rpm/Packages 0x400 mode=0x0
D: locked db index /var/lib/rpm/Packages
D: opening db index /var/lib/rpm/Name 0x400 mode=0x0
D: read h# 1236 Header SHA1 digest: OK (bb6b135c57857e6f7cbdcef7fb6a21602264acbb)
D: added key gpg-pubkey-fd431d51-4ae0493b to keyring
D: read h# 1237 Header SHA1 digest: OK (548b3bd6ccdc6cac997c6d6f44b6cb453f9c23d2)
D: added key gpg-pubkey-2fa658e0-45700c69 to keyring
D: Using legacy gpg-pubkey(s) from rpmdb
D: Expected size: 83934476 = lead(96)+sigs(1284)+pad(4)+data(83933092)
D: Actual size: 83934476
warning: pgadmin4-server-5.1-1.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 210976f2: NOKEY
D: added binary package [0]
D: found 0 source and 1 binary packages
D: opening db index /var/lib/rpm/Conflictname 0x400 mode=0x0
D: ========== +++ pgadmin4-server-5.1-1.el7 x86_64/linux 0x0
D: opening db index /var/lib/rpm/Providename 0x400 mode=0x0
D: read h# 2965 Header V3 RSA/SHA256 Signature, key ID fd431d51: OK
D: Requires: krb5-libs YES (db provides)
D: read h# 3527 Header V3 RSA/SHA256 Signature, key ID fd431d51: OK
D: read h# 3597 Header V3 RSA/SHA256 Signature, key ID 210976f2: NOKEY
D: Requires: postgresql-libs >= 11 YES (db provides)
D: Requires: python3 NO
D: Requires: rpmlib(CompressedFileNames) <= 3.0.4-1 YES (rpmlib provides)
D: Requires: rpmlib(FileDigests) <= 4.6.0-1 YES (rpmlib provides)
D: Requires: rpmlib(PayloadFilesHavePrefix) <= 4.0-1 YES (rpmlib provides)
D: Requires: rpmlib(PayloadIsXz) <= 5.2-1 YES (rpmlib provides)
D: opening db index /var/lib/rpm/Obsoletename 0x400 mode=0x0
error: Failed dependencies:
python3 is needed by pgadmin4-server-5.1-1.el7.x86_64
D: closed db index /var/lib/rpm/Obsoletename
D: closed db index /var/lib/rpm/Conflictname
D: closed db index /var/lib/rpm/Providename
D: closed db index /var/lib/rpm/Name
D: closed db index /var/lib/rpm/Packages
D: closed db environment /var/lib/rpm