public inbox for pgsql-admin@postgresql.org
help / color / mirror / Atom feedPostgreSQL Repos and archiving
2+ messages / 2 participants
[nested] [flat]
* PostgreSQL Repos and archiving
@ 2026-05-12 06:24 =?Windows-1252?Q?Gabriel_Guillem_Barcel=F3_Soteras?= <gbarcelo@parlamentib.es>
2026-05-12 07:41 ` Re: PostgreSQL Repos and archiving Laurenz Albe <laurenz.albe@cybertec.at>
0 siblings, 1 reply; 2+ messages in thread
From: =?Windows-1252?Q?Gabriel_Guillem_Barcel=F3_Soteras?= @ 2026-05-12 06:24 UTC (permalink / raw)
To: Pgsql-admin <pgsql-admin@lists.postgresql.org>
Hello,
I’m looking for guidance on how others are handling PGDG YUM repository maintenance on RHEL-like systems.
In our environment, we installed PostgreSQL 15 client libraries (postgresql15, libpq, etc.) across several hosts at a time when PostgreSQL 13 was still supported. As a result, the pgdg-redhat-all.repo file enabled multiple repositories (including pgdg13).
Now that PostgreSQL 13 has reached end-of-life, its repository has been moved to the archive, and the original URL no longer works. Because the repository remains enabled, dnf update fails when refreshing metadata. DNF skip_if_unavailabledoes not work because of the error code returned by the old repo (410?)
How are handling this situation apart from deleting old repo?
Gabriel B.
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: PostgreSQL Repos and archiving
2026-05-12 06:24 PostgreSQL Repos and archiving =?Windows-1252?Q?Gabriel_Guillem_Barcel=F3_Soteras?= <gbarcelo@parlamentib.es>
@ 2026-05-12 07:41 ` Laurenz Albe <laurenz.albe@cybertec.at>
0 siblings, 0 replies; 2+ messages in thread
From: Laurenz Albe @ 2026-05-12 07:41 UTC (permalink / raw)
To: Gabriel Guillem Barceló Soteras <gbarcelo@parlamentib.es>; Pgsql-admin <pgsql-admin@lists.postgresql.org>
On Tue, 2026-05-12 at 06:24 +0000, Gabriel Guillem Barceló Soteras wrote:
> I’m looking for guidance on how others are handling PGDG YUM repository maintenance on RHEL-like systems.
>
> In our environment, we installed PostgreSQL 15 client libraries (postgresql15,libpq, etc.) across several
> hosts at a time when PostgreSQL 13 was still supported. As a result, thepgdg-redhat-all.repo file enabled
> multiple repositories (includingpgdg13).
>
> Now that PostgreSQL 13 has reached end-of-life, its repository has been moved to the archive, and the
> original URL no longer works. Because the repository remains enabled, dnf update fails when refreshing
> metadata. DNF skip_if_unavailabledoes not work because of the error code returned by the old repo (410?)
>
> How are handling this situation apart from deleting old repo?
The proper way of dealing with that is to keep the package pgdg-redhat-repo updated.
Then the reference to the repositories of versions that are no longer supported will
vanish automatically, and you won't encounter the problem.
At the same time, keep updating your installations to the latest minor release.
That way, you can be certain to have the latest minor release for v13 when it goes
out of support.
Needless to say, you should upgrade way before a version goes out of support.
Yours,
Laurenz Albe
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2026-05-12 07:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-05-12 06:24 PostgreSQL Repos and archiving =?Windows-1252?Q?Gabriel_Guillem_Barcel=F3_Soteras?= <gbarcelo@parlamentib.es>
2026-05-12 07:41 ` Laurenz Albe <laurenz.albe@cybertec.at>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox