Broken dependency for pg_activity on EL9 - Mailing list pgsql-pkg-yum

From Jehan-Guillaume de Rorthais
Subject Broken dependency for pg_activity on EL9
Date
Msg-id 20260603135538.07e15250@karst
Whole thread
Responses Re: Broken dependency for pg_activity on EL9
List pgsql-pkg-yum
Hi there,

It seems the dependency of pg_activity on "python3.12-attrs" is currently
broken:

    dnf install pg_activity
    Last metadata expiration check: 0:01:37 ago on Wed 03 Jun 2026 11:47:49 AM
    CEST. 
    Error: Problem: cannot install the best candidate for the job
    - nothing provides python3.12-attrs needed by
      pg_activity-3.6.2-42PGDG.rhel9.8.noarch from rhel-9-pgs-common-rpms (try
      to add '--skip-broken' to skip uninstallable packages or '--nobest' to
      use not only best candidate packages)

IIUC, the package has been renamed "python-attrs" in EL9 (not tested thought):
https://bugzilla.redhat.com/show_bug.cgi?id=2058329

I supposed this could be fixed there:
https://git.postgresql.org/cgit/pgrpms.git/tree/rpm/redhat/main/common/pg_activity/main/pg_activity.spec#n53

Regards,



pgsql-pkg-yum by date:

Previous
From: Devrim Gunduz
Date:
Subject: Re: Missing jdbc packages for RHEL 8.10
Next
From: Julian Vanden Broeck
Date:
Subject: Re: Broken dependency for pg_activity on EL9