pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Krefting <peter@softwolves.pp.se>
To: pgsql-general@lists.postgresql.org
Subject: RPM dependency on pg_partman12 fails
Date: Fri, 22 Jan 2021 07:52:16 +0100 (CET)
Message-ID: <alpine.DEB.2.21.2101220747470.27378@perkele.intern.softwolves.pp.se> (raw)

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/





Message-ID: <alpine.DEB.2.21.2101220747470.27378@perkele.intern.softwolves.pp.se>
Permalink:  ../alpine.DEB.2.21.2101220747470.27378@perkele.intern.softwolves.pp.se/
Also on:    postgresql.org/message-id/alpine.DEB.2.21.2101220747470.27378@perkele.intern.softwolves.pp.se

 · 

reply

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: peter@softwolves.pp.se
  Subject: Re: RPM dependency on pg_partman12 fails
  In-Reply-To: <alpine.DEB.2.21.2101220747470.27378@perkele.intern.softwolves.pp.se>
  References: <alpine.DEB.2.21.2101220747470.27378@perkele.intern.softwolves.pp.se>

* 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