From: Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
To: Magnus Hagander <magnus@hagander.net>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: AW: Linux package upgrade without dependency conflicts
Date: Fri, 20 Nov 2020 16:18:39 +0000
Message-ID: <63394131a6a246d5849fee02da6f77fe@zuerich.ch> (raw)
In-Reply-To: <CABUevEy0GkUzuUq6KMgTxjMKNx=ZGc7Tr+C7YDrsLFbuSyf5ug@mail.gmail.com>
References: <d3a87a0b29b343ebb6fe4f2a089efd17@zuerich.ch>
<CABUevEy0GkUzuUq6KMgTxjMKNx=ZGc7Tr+C7YDrsLFbuSyf5ug@mail.gmail.com>
> -----Ursprüngliche Nachricht-----
> Von: Magnus Hagander <magnus@hagander.net>
> Gesendet: Freitag, 20. November 2020 16:29
> An: Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
> Cc: pgsql-general@lists.postgresql.org
> Betreff: Re: Linux package upgrade without dependency conflicts
>
> On Thu, Nov 19, 2020 at 2:50 PM Zwettler Markus (OIZ)
> <Markus.Zwettler@zuerich.ch> wrote:
> >
> > We run Postgres 9.6 + 12 Community Edition on RHEL7 which we install directly
> out of the PGDG channels using RPMs. We also run Patroni installed with RPMs
> provided by Github.
> >
> >
> >
> > Currently we have major dependency conflicts with each quarterly Linux package
> upgrade (yum upgrade), especially on PostGIS and Patroni.
> >
> >
> >
> > I was told that there will be no dependency conflicts anymore when we install
> Postgres from sourcecode and Patroni with pip.
> >
> >
> >
> > Is that correct? Because all Linux packages required by Postgres will continue to
> be updated.
>
> This is not really a PostgreSQL question, it's more of a RedHat question I'd say.
>
> In general, no. If you install from source you will have a different kind of
> dependency management, and you need to handle all of that manually. As long as
> you do, there shouldn't be issues.
>
> That said, what are your dependency conflicts? As long as you're using the PGDG
> repositories on RHEL7 it should work without that. There have been some issues
> with PostGIS on RHEL8, but I think they are mostly fine on RHEL7. But if you don't
> actually show us what your dependency problems are, we can't tell you how to fix
> it...
>
> (And why not use Patroni from the PDGD repositories?)
>
>
> --
> Magnus Hagander
> Me: https://www.hagander.net/
> Work: https://www.redpill-linpro.com/
The last problems I remember had been related to Patroni + python-psycopg and PostGIS + pgrouting_96.
We used Patroni before it had been provided by the PGDG repositories. I am actually planning to use the RPMs from the PGDG repo in the future.
I will post our actual problems the next time.
Thanks, Markus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: Markus.Zwettler@zuerich.ch, magnus@hagander.net
Subject: Re: Linux package upgrade without dependency conflicts
In-Reply-To: <63394131a6a246d5849fee02da6f77fe@zuerich.ch>
References: <d3a87a0b29b343ebb6fe4f2a089efd17@zuerich.ch> <CABUevEy0GkUzuUq6KMgTxjMKNx=ZGc7Tr+C7YDrsLFbuSyf5ug@mail.gmail.com> <63394131a6a246d5849fee02da6f77fe@zuerich.ch>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox