Unable to install Postgress with 4.51 version - OPDK 5 cluster node

We are trying to install Apigee 4.51 on opdk for our new environment. We are getting the following error while installing Postgress.

Finished edge-qpid-server setup
Service setup apigee-postgresql

Failed to set locale, defaulting to C
Loaded plugins: priorities, update-motd, upgrade-helper
115 packages excluded due to repository priority protections
Resolving Dependencies
Running transaction check
—> Package apigee-postgresql.noarch 0:10.17-0.0.2521 will be installed
→ Processing Dependency: postgresql10 >= 10.17 for package: apigee-postgresql-10.17-0.0.2521.noarch
→ Processing Dependency: postgresql10-contrib >= 10.17 for package: apigee-postgresql-10.17-0.0.2521.noarch
→ Processing Dependency: postgresql10-server >= 10.17 for package: apigee-postgresql-10.17-0.0.2521.noarch
→ Finished Dependency Resolution
Error: Package: apigee-postgresql-10.17-0.0.2521.noarch (apigee-release)
Requires: postgresql10 >= 10.17
Available: postgresql10-10.14-1PGDG.rhel6.x86_64 (apigee-thirdparty)
postgresql10 = 10.14-1PGDG.rhel6
Error: Package: apigee-postgresql-10.17-0.0.2521.noarch (apigee-release)
Requires: postgresql10-contrib >= 10.17
Available: postgresql10-contrib-10.14-1PGDG.rhel6.x86_64 (apigee-thirdparty)
postgresql10-contrib = 10.14-1PGDG.rhel6
Error: Package: apigee-postgresql-10.17-0.0.2521.noarch (apigee-release)
Requires: postgresql10-server >= 10.17
Available: postgresql10-server-10.14-1PGDG.rhel6.x86_64 (apigee-thirdparty)
postgresql10-server = 10.14-1PGDG.rhel6
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Error: setup.sh: /opt/apigee/apigee-service/bin/apigee-service exited with unexpected status 1.

Below is the command used for the installation:
/opt/apigee/apigee-setup/bin/setup.sh -p sax -f

Our Linux version:

Linux version 4.14.252-131.483.amzn1.x86_64 (mockbuild@koji-pdx-corp-builder-64004) (gcc version 7.2.1 20170915 (Red Hat 7.2.1-2) (GCC)) #1 SMP Mon Nov 1 20:48:11 UTC 2021

if you are using RHEL 7.2, according to docs it is not supported - https://docs.apigee.com/release/supported-software - at least 7.5, but not sure if this is the problem, however from the log - Apigee see that only pg from rhel6 flavor is available in your repo, and it is not sufficient

Yeah, we were using Amazon AMI1 - seems liek that was the issue, we upgraded it to AMI2 and tried . we got a different error this time.

→ Finished Dependency Resolution

Error: Package: qpid-cpp-client-1.39.0-SNAPSHOT.amzn2.x86_64 (apigee-thirdparty)

Requires: libqpid-proton-core.so.10()(64bit)

Error: Package: qpid-cpp-server-1.39.0-SNAPSHOT.amzn2.x86_64 (apigee-thirdparty)

Requires: qpid-proton-c(x86-64) >= 0.5

Error: Package: python2-qpid-1.37.0-4.amzn2.noarch (apigee-thirdparty)

Requires: python-saslwrapper

Error: Package: qpid-cpp-server-1.39.0-SNAPSHOT.amzn2.x86_64 (apigee-thirdparty)

Requires: libqpid-proton-core.so.10()(64bit)

Error: Package: qpid-cpp-client-1.39.0-SNAPSHOT.amzn2.x86_64 (apigee-thirdparty)

Requires: qpid-proton-c(x86-64) >= 0.5

You could try using --skip-broken to work around the problem

You could try running: rpm -Va --nofiles --nodigest

Error: setup.sh: /opt/apigee/apigee-service/bin/apigee-service exited with unexpected status 1

Similar issue while installing postgres on amazon Linux2, while apigee documentation indicate 4.52.02 is supported in Amazon Linux 2, several packages are not available. Example python 3.6 is available in amazon linux and postgres 14 does not install with python 3.7