RPM dependency on pg_partman12 fails

From: Peter Krefting <peter(at)softwolves(dot)pp(dot)se>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: RPM dependency on pg_partman12 fails
Date: 2021-01-22 06:52:16
Message-ID: alpine.DEB.2.21.2101220747470.27378@perkele.intern.softwolves.pp.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi!

We are using the Partition Manager (pg_partman) in our software, and
to make sure the correct version is installed, our RPM (CentOS 7) has
declared a dependency on the pg_partman12 package.

However, the latest update to the package renames it without a
Provides on the old name, so a "yum update" now fails with an error:

Error: Package: XXXX
Requires: pg_partman12
Removing: pg_partman12-4.4.0-1.rhel7.x86_64 (@/pg_partman12-4.4.0-1.rhel7.x86_64)
pg_partman12 = 4.4.0-1.rhel7
Obsoleted By: pg_partman_12-4.4.1-1.rhel7.x86_64 (pgdg12)
Not found
Available: pg_partman12-4.2.0-1.rhel7.1.x86_64 (pgdg12)
pg_partman12 = 4.2.0-1.rhel7.1
Available: pg_partman12-4.3.0-1.rhel7.x86_64 (pgdg12)
pg_partman12 = 4.3.0-1.rhel7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Is this an error in the pg_partman package, or are we declaring the
dependency incorrectly on our end?

--
\\// Peter - http://www.softwolves.pp.se/

Browse pgsql-general by date

  From Date Subject
Next Message sivapostgres@yahoo.com 2021-01-22 07:11:57 Re: Copy & Re-copy of DB
Previous Message Steve Baldwin 2021-01-22 05:03:39 FDW connections