On 12/30/21 18:32, Hasan Marzooq wrote:
> Hi.
> I tried "yum install centos-release-scl-rh" before but it gives the
> below error.
> ------
> # yum install centos-release-scl-rh
> Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
> 213 packages excluded due to repository priority protections
> No package centos-release-scl-rh available.
> Error: Nothing to do
> --------
>
> Postgres 9.6 on this machine (Amazon Linux 2) is installed via PGDG
> repo, so I tried installing Postgres 13 as well, and I can see it has
> installed but only one more package I need that is
> "postgresql13-devel.x86_64" which needs another dependency "
> llvm-toolset-7-clang >= 4.0.1" that is not available from the same repo.
>
> ---
> yum list installed | grep -i postgres
> postgresql13.x86_64 13.5-1PGDG.rhel7 @pgdg13
> postgresql13-contrib.x86_64 13.5-1PGDG.rhel7 @pgdg13
> postgresql13-libs.x86_64 13.5-1PGDG.rhel7 @pgdg13
> postgresql13-server.x86_64 13.5-1PGDG.rhel7 @pgdg13
> postgresql96.x86_64 9.6.24-1PGDG.rhel6 @pgdg96
> postgresql96-contrib.x86_64 9.6.24-1PGDG.rhel6 @pgdg96
> postgresql96-devel.x86_64 9.6.24-1PGDG.rhel6 @pgdg96
> postgresql96-libs.x86_64 9.6.24-1PGDG.rhel6 @pgdg96
> postgresql96-server.x86_64 9.6.24-1PGDG.rhel6 @pgdg96
> ---
Not sure if it will make a difference, but your 9.6 instance is using
the rhel6 repo and the 13 is using rhel7.
--
Adrian Klaver
adrian.klaver@aklaver.com