0

I followed the instructions here to install the custom Yum repo. It looked like it installed correctly. But then yum install can't find the postgresql16-server package.

I ran sudo yum repolist, and I can see repos for versions 9 through 15, but no 16:

pgdg-common/7/x86_64 PostgreSQL common RPMs for RHEL / CentOS 7 - x86_64 545 pgdg12/7/x86_64 PostgreSQL 12 for RHEL / CentOS 7 - x86_64 1,401 pgdg13/7/x86_64 PostgreSQL 13 for RHEL / CentOS 7 - x86_64 1,195 pgdg14/7/x86_64 PostgreSQL 14 for RHEL / CentOS 7 - x86_64 955 pgdg15/7/x86_64 PostgreSQL 15 for RHEL / CentOS 7 - x86_64 668 pgdg93/7/x86_64 PostgreSQL 9.3 7 - x86_64 457 

So what's going on here?

1
  • 3
    CentOS 7 is out of support from one year. Commented May 27 at 18:47

1 Answer 1

1

If you have the repository.rpm installed it most likely configured the postgres repos that are compatible with the os version which does not include 16 or later. As Romeo mentioned, it looks like only up to release 15 is available but you could always manually try and install the package by configuring the repository.

https://yum.postgresql.org/news/rhel7-end-of-life/

This chart also does not list postgres 16 on it - https://yum.postgresql.org/rpmchart/

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.