RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2123319 - dnf-update broken for podman/catatonit
Summary: dnf-update broken for podman/catatonit
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: podman
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: ---
Assignee: Jindrich Novy
QA Contact: Joy Pu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-09-01 11:38 UTC by Dr. Stephan Wonczak
Modified: 2022-12-08 12:57 UTC (History)
15 users (show)

Fixed In Version: podman-4.2.0-5.el9_1_0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-15 15:59:17 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-132982 0 None None None 2022-09-01 11:42:16 UTC
Red Hat Product Errata RHSA-2022:8431 0 None None None 2022-11-15 15:59:29 UTC

Description Dr. Stephan Wonczak 2022-09-01 11:38:10 UTC
Description of problem:
Error updating podman/catatonit


Version-Release number of selected component (if applicable):

podman-4.1.1-6.el9.x86_64
catatonit-0.1.7-7.el9.x86_64

How reproducible:

Always

Steps to Reproduce:
1. dnf update podman

Actual results:
[root@<host>~]$ LANG=C dnf update podman
Last metadata expiration check: 0:12:12 ago on Thu Sep  1 13:23:30 2022.
Error: 
 Problem: problem with installed package catatonit-3:0.1.7-7.el9.x86_64
  - package podman-2:4.2.0-3.el9.x86_64 conflicts with catatonit provided by catatonit-3:0.1.7-7.el9.x86_64
  - cannot install the best update candidate for package podman-2:4.1.1-6.el9.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)


Expected results:
No conflicts; update should install podman-2:4.2.0-3.el9 

Additional info:

Comment 2 Jindrich Novy 2022-09-02 09:00:39 UTC
Hi Stephan,

The conflict is deliberate as podman requires podman-catatonit from AppStream. The unsupported catatonit package comes from CRB repository. Once present on the system, and you have a different software dependent on it, there seems to be no other choice than to conflict with it in order to not to break your current installation. The easiest solution is to remove the catatonit package including all dependencies not originating from supported RHEL repos (BeseOS/AppStream). Without CRB catatonit installed podman installs just fine:

# dnf install podman
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Beaker Client - RedHatEnterpriseLinux9                                                                                                        72 kB/s | 8.6 kB     00:00    
Beaker harness                                                                                                                               1.2 MB/s | 185 kB     00:00    
Copr repo for beakerlib-libraries owned by bgoncalv                                                                                           11 kB/s | 2.7 kB     00:00    
rhel                                                                                                                                          23 MB/s | 1.7 MB     00:00    
rhel-AppStream                                                                                                                                37 MB/s | 6.1 MB     00:00    
rhel-HighAvailability                                                                                                                        4.2 MB/s | 233 kB     00:00    
rhel-HighAvailability-debuginfo                                                                                                              665 kB/s |  24 kB     00:00    
rhel-NFV                                                                                                                                      11 MB/s | 967 kB     00:00    
rhel-NFV-debuginfo                                                                                                                           6.5 MB/s | 284 kB     00:00    
rhel-RT                                                                                                                                      9.0 MB/s | 954 kB     00:00    
rhel-RT-debuginfo                                                                                                                            6.7 MB/s | 284 kB     00:00    
rhel-ResilientStorage                                                                                                                        1.4 MB/s | 239 kB     00:00    
rhel-ResilientStorage-debuginfo                                                                                                              246 kB/s |  27 kB     00:00    
rhel-SAP                                                                                                                                     132 kB/s | 8.0 kB     00:00    
rhel-SAP-debuginfo                                                                                                                            66 kB/s | 3.3 kB     00:00    
rhel-SAPHANA                                                                                                                                 210 kB/s |  11 kB     00:00    
rhel-SAPHANA-debuginfo                                                                                                                        58 kB/s | 2.6 kB     00:00    
Dependencies resolved.
=============================================================================================================================================================================
 Package                                              Architecture                   Version                                    Repository                              Size
=============================================================================================================================================================================
Installing:
 podman                                               x86_64                         2:4.2.0-3.el9                              rhel-AppStream                          12 M
Installing dependencies:
 conmon                                               x86_64                         2:2.1.3-1.el9                              rhel-AppStream                          56 k
 container-selinux                                    noarch                         3:2.189.0-1.el9                            rhel-AppStream                          53 k
 containers-common                                    x86_64                         2:1-44.el9                                 rhel-AppStream                         119 k
 criu                                                 x86_64                         3.17-4.el9                                 rhel-AppStream                         547 k
 criu-libs                                            x86_64                         3.17-4.el9                                 rhel-AppStream                          34 k
 crun                                                 x86_64                         1.5-1.el9                                  rhel-AppStream                         191 k
 fuse-common                                          x86_64                         3.10.2-5.el9                               rhel                                   9.3 k
 fuse-overlayfs                                       x86_64                         1.9-1.el9                                  rhel-AppStream                          74 k
 fuse3                                                x86_64                         3.10.2-5.el9                               rhel-AppStream                          58 k
 fuse3-libs                                           x86_64                         3.10.2-5.el9                               rhel-AppStream                          94 k
 libnet                                               x86_64                         1.2-6.el9                                  rhel-AppStream                          61 k
 libslirp                                             x86_64                         4.4.0-7.el9                                rhel-AppStream                          72 k
 netavark                                             x86_64                         2:1.1.0-6.el9                              rhel-AppStream                         2.1 M
 podman-catatonit                                     x86_64                         2:4.2.0-3.el9                              rhel-AppStream                         355 k
 policycoreutils-python-utils                         noarch                         3.4-3.el9                                  rhel-AppStream                          79 k
 protobuf-c                                           x86_64                         1.3.3-12.el9                               rhel                                    38 k
 shadow-utils-subid                                   x86_64                         2:4.9-5.el9                                rhel                                    90 k
 slirp4netns                                          x86_64                         1.2.0-2.el9                                rhel-AppStream                          49 k
 yajl                                                 x86_64                         2.1.0-21.el9                               rhel-AppStream                          42 k
Installing weak dependencies:
 aardvark-dns                                         x86_64                         2:1.1.0-4.el9                              rhel-AppStream                         998 k

Transaction Summary
=============================================================================================================================================================================
Install  21 Packages

Total download size: 17 M
Installed size: 58 M
Is this ok [y/N]: y
Downloading Packages:
(1/21): fuse-common-3.10.2-5.el9.x86_64.rpm                                                                                                  562 kB/s | 9.3 kB     00:00    
(2/21): protobuf-c-1.3.3-12.el9.x86_64.rpm                                                                                                   1.6 MB/s |  38 kB     00:00    
(3/21): shadow-utils-subid-4.9-5.el9.x86_64.rpm                                                                                              2.3 MB/s |  90 kB     00:00    
(4/21): container-selinux-2.189.0-1.el9.noarch.rpm                                                                                           4.3 MB/s |  53 kB     00:00    
(5/21): conmon-2.1.3-1.el9.x86_64.rpm                                                                                                        1.8 MB/s |  56 kB     00:00    
(6/21): aardvark-dns-1.1.0-4.el9.x86_64.rpm                                                                                                   15 MB/s | 998 kB     00:00    
(7/21): containers-common-1-44.el9.x86_64.rpm                                                                                                3.3 MB/s | 119 kB     00:00    
(8/21): criu-libs-3.17-4.el9.x86_64.rpm                                                                                                      980 kB/s |  34 kB     00:00    
(9/21): crun-1.5-1.el9.x86_64.rpm                                                                                                            5.1 MB/s | 191 kB     00:00    
(10/21): criu-3.17-4.el9.x86_64.rpm                                                                                                          7.1 MB/s | 547 kB     00:00    
(11/21): fuse3-3.10.2-5.el9.x86_64.rpm                                                                                                       4.5 MB/s |  58 kB     00:00    
(12/21): fuse-overlayfs-1.9-1.el9.x86_64.rpm                                                                                                 2.8 MB/s |  74 kB     00:00    
(13/21): libnet-1.2-6.el9.x86_64.rpm                                                                                                         5.5 MB/s |  61 kB     00:00    
(14/21): fuse3-libs-3.10.2-5.el9.x86_64.rpm                                                                                                  4.5 MB/s |  94 kB     00:00    
(15/21): libslirp-4.4.0-7.el9.x86_64.rpm                                                                                                     5.5 MB/s |  72 kB     00:00    
(16/21): podman-catatonit-4.2.0-3.el9.x86_64.rpm                                                                                             7.7 MB/s | 355 kB     00:00    
(17/21): policycoreutils-python-utils-3.4-3.el9.noarch.rpm                                                                                   9.3 MB/s |  79 kB     00:00    
(18/21): slirp4netns-1.2.0-2.el9.x86_64.rpm                                                                                                  1.1 MB/s |  49 kB     00:00    
(19/21): yajl-2.1.0-21.el9.x86_64.rpm                                                                                                        5.4 MB/s |  42 kB     00:00    
(20/21): netavark-1.1.0-6.el9.x86_64.rpm                                                                                                      15 MB/s | 2.1 MB     00:00    
(21/21): podman-4.2.0-3.el9.x86_64.rpm                                                                                                        26 MB/s |  12 MB     00:00    
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                         27 MB/s |  17 MB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                     1/1 
  Installing       : fuse3-libs-3.10.2-5.el9.x86_64                                                                                                                     1/21 
  Installing       : protobuf-c-1.3.3-12.el9.x86_64                                                                                                                     2/21 
  Installing       : yajl-2.1.0-21.el9.x86_64                                                                                                                           3/21 
  Installing       : policycoreutils-python-utils-3.4-3.el9.noarch                                                                                                      4/21 
  Running scriptlet: container-selinux-3:2.189.0-1.el9.noarch                                                                                                           5/21 
  Installing       : container-selinux-3:2.189.0-1.el9.noarch                                                                                                           5/21 
  Running scriptlet: container-selinux-3:2.189.0-1.el9.noarch                                                                                                           5/21 
  Installing       : libslirp-4.4.0-7.el9.x86_64                                                                                                                        6/21 
  Installing       : slirp4netns-1.2.0-2.el9.x86_64                                                                                                                     7/21 
  Installing       : libnet-1.2-6.el9.x86_64                                                                                                                            8/21 
  Installing       : criu-3.17-4.el9.x86_64                                                                                                                             9/21 
  Installing       : criu-libs-3.17-4.el9.x86_64                                                                                                                       10/21 
  Installing       : crun-1.5-1.el9.x86_64                                                                                                                             11/21 
  Installing       : conmon-2:2.1.3-1.el9.x86_64                                                                                                                       12/21 
  Installing       : aardvark-dns-2:1.1.0-4.el9.x86_64                                                                                                                 13/21 
  Installing       : netavark-2:1.1.0-6.el9.x86_64                                                                                                                     14/21 
  Installing       : shadow-utils-subid-2:4.9-5.el9.x86_64                                                                                                             15/21 
  Installing       : fuse-common-3.10.2-5.el9.x86_64                                                                                                                   16/21 
  Installing       : fuse3-3.10.2-5.el9.x86_64                                                                                                                         17/21 
  Installing       : fuse-overlayfs-1.9-1.el9.x86_64                                                                                                                   18/21 
  Running scriptlet: fuse-overlayfs-1.9-1.el9.x86_64                                                                                                                   18/21 
  Installing       : containers-common-2:1-44.el9.x86_64                                                                                                               19/21 
  Installing       : podman-catatonit-2:4.2.0-3.el9.x86_64                                                                                                             20/21 
  Installing       : podman-2:4.2.0-3.el9.x86_64                                                                                                                       21/21 
  Running scriptlet: container-selinux-3:2.189.0-1.el9.noarch                                                                                                          21/21 
  Running scriptlet: podman-2:4.2.0-3.el9.x86_64                                                                                                                       21/21 
  Verifying        : fuse-common-3.10.2-5.el9.x86_64                                                                                                                    1/21 
  Verifying        : protobuf-c-1.3.3-12.el9.x86_64                                                                                                                     2/21 
  Verifying        : shadow-utils-subid-2:4.9-5.el9.x86_64                                                                                                              3/21 
  Verifying        : aardvark-dns-2:1.1.0-4.el9.x86_64                                                                                                                  4/21 
  Verifying        : conmon-2:2.1.3-1.el9.x86_64                                                                                                                        5/21 
  Verifying        : container-selinux-3:2.189.0-1.el9.noarch                                                                                                           6/21 
  Verifying        : containers-common-2:1-44.el9.x86_64                                                                                                                7/21 
  Verifying        : criu-3.17-4.el9.x86_64                                                                                                                             8/21 
  Verifying        : criu-libs-3.17-4.el9.x86_64                                                                                                                        9/21 
  Verifying        : crun-1.5-1.el9.x86_64                                                                                                                             10/21 
  Verifying        : fuse-overlayfs-1.9-1.el9.x86_64                                                                                                                   11/21 
  Verifying        : fuse3-3.10.2-5.el9.x86_64                                                                                                                         12/21 
  Verifying        : fuse3-libs-3.10.2-5.el9.x86_64                                                                                                                    13/21 
  Verifying        : libnet-1.2-6.el9.x86_64                                                                                                                           14/21 
  Verifying        : libslirp-4.4.0-7.el9.x86_64                                                                                                                       15/21 
  Verifying        : netavark-2:1.1.0-6.el9.x86_64                                                                                                                     16/21 
  Verifying        : podman-2:4.2.0-3.el9.x86_64                                                                                                                       17/21 
  Verifying        : podman-catatonit-2:4.2.0-3.el9.x86_64                                                                                                             18/21 
  Verifying        : policycoreutils-python-utils-3.4-3.el9.noarch                                                                                                     19/21 
  Verifying        : slirp4netns-1.2.0-2.el9.x86_64                                                                                                                    20/21 
  Verifying        : yajl-2.1.0-21.el9.x86_64                                                                                                                          21/21 
Installed products updated.

Installed:
  aardvark-dns-2:1.1.0-4.el9.x86_64                 conmon-2:2.1.3-1.el9.x86_64        container-selinux-3:2.189.0-1.el9.noarch     containers-common-2:1-44.el9.x86_64      
  criu-3.17-4.el9.x86_64                            criu-libs-3.17-4.el9.x86_64        crun-1.5-1.el9.x86_64                        fuse-common-3.10.2-5.el9.x86_64          
  fuse-overlayfs-1.9-1.el9.x86_64                   fuse3-3.10.2-5.el9.x86_64          fuse3-libs-3.10.2-5.el9.x86_64               libnet-1.2-6.el9.x86_64                  
  libslirp-4.4.0-7.el9.x86_64                       netavark-2:1.1.0-6.el9.x86_64      podman-2:4.2.0-3.el9.x86_64                  podman-catatonit-2:4.2.0-3.el9.x86_64    
  policycoreutils-python-utils-3.4-3.el9.noarch     protobuf-c-1.3.3-12.el9.x86_64     shadow-utils-subid-2:4.9-5.el9.x86_64        slirp4netns-1.2.0-2.el9.x86_64           
  yajl-2.1.0-21.el9.x86_64                         

Complete!

I'm open to any proposals if you find better solution to this.

Comment 3 Dr. Stephan Wonczak 2022-09-02 09:47:06 UTC
Hmmm... the interesting part is that - according to dnf - the installed version of catatonit -is- from appstream:

[root@<host>~]$ LANG=C dnf list  catatonit --showduplicates
Last metadata expiration check: 1:20:09 ago on Fri Sep  2 10:20:40 2022.
Installed Packages
catatonit.x86_64                                           3:0.1.7-7.el9                                           @appstream
Available Packages
catatonit.x86_64                                           3:0.1.7-7.el9                                           appstream 
catatonit.x86_64                                           3:0.1.7-7.el9                                           crb    

And it was installed during a normal update (as seen from dnf history):

[root@<host>~]$ LANG=C dnf history info 20
 
Transaction ID : 20
Begin time     : Wed Aug 10 13:21:42 2022
Begin rpmdb    : 63a65b5a1e00da2c55015b1de8451f139f046e412d9364bc1d4787198a17e6ef
End time       : Wed Aug 10 13:24:19 2022 (157 seconds)
End rpmdb      : a10baa0cc0553ed3c2362dd516a290b5d9a3505904ad4807274ed9f4b7b53160
User           : Stephan Wonczak <sws>
Return-Code    : Success
Releasever     : 9
Command Line   : update
Comment        : 
Packages Altered:
    Install   kernel-5.14.0-142.el9.x86_64                             @baseos
    Install   kernel-core-5.14.0-142.el9.x86_64                        @baseos
    Install   kernel-modules-5.14.0-142.el9.x86_64                     @baseos
    Install   catatonit-3:0.1.7-7.el9.x86_64                           @appstream
    Obsoleted podman-catatonit-2:4.1.1-3.el9.x86_64                    @@System
    Install   kernel-devel-5.14.0-142.el9.x86_64                       @appstream
    Upgrade   NetworkManager-1:1.39.12-1.el9.x86_64                    @baseos
    Upgraded  NetworkManager-1:1.39.10-1.el9.x86_64                    @@System
    Upgrade   NetworkManager-adsl-1:1.39.12-1.el9.x86_64               @baseos
(...)

As you can see, podman-catatonit was obsoleted by catatonit. So yes, I think there -is- something broken here. At least for CentOS 9 Stream.

Comment 4 Jindrich Novy 2022-09-02 15:17:47 UTC
Yes, catatonit was moved from AppStream to CRB in yesterday's nightly compose which explains what you see. It should work during the normal fresh installation.

Comment 5 Carl George 🤠 2022-09-02 16:08:35 UTC
catatonit is currently available in both appstream and crb.

[root@c9s-container:~]# dnf --enablerepo crb list --showduplicates catatonit
Last metadata expiration check: 0:00:42 ago on Fri Sep  2 16:06:00 2022.
Available Packages
catatonit.x86_64                          3:0.1.7-7.el9                          appstream
catatonit.x86_64                          3:0.1.7-7.el9                          crb      

The CentOS repos keep previous packages, so manual cleanup will be needed if catatonit is expected to be removed entirely from appstream.

Comment 6 Tom Sweeney 2022-09-02 21:24:16 UTC
As the issue has been identified and fixed, I'm going to close this as current release.  Stephan thanks for pointing the issue out, and thanks Carl and Jindrich for looking at and explaining the situation quickly.

Comment 7 Carl George 🤠 2022-09-03 02:30:23 UTC
Unfortunately this issue is not fixed yet.  Aside from removing the old catatonit package from the appstream repo, the upgrade path logic is still incorrect.  If I'm understanding things correctly, podman-catatonit is replacing catatonit.  Or more specifically, /usr/libexec/catatonit/catatonit and /usr/libexec/podman/catatonit (a symlink to the previous file) are moving from catatonit to podman-catatonit.  To do this correctly, podman-catatonit should obsolete catatonit, with an epoch:version-release limit (one release higher than the last catatonit release) in case it ever needs to be reverted.  This should do the trick:

Obsoletes: catatonit < 3:0.1.7-8

https://docs.fedoraproject.org/en-US/packaging-guidelines/#renaming-or-replacing-existing-packages

Comment 9 Dr. Stephan Wonczak 2022-09-05 08:42:44 UTC
Yes, updates for existing installations are still broken. I can confirm that the issue is not fixed (yet):

Last metadata expiration check: 0:04:34 ago on Mon Sep  5 10:37:08 2022.
Error: 
 Problem: package podman-2:4.2.0-3.el9.x86_64 conflicts with catatonit provided by catatonit-3:0.1.7-7.el9.x86_64
  - cannot install the best update candidate for package podman-2:4.1.1-6.el9.x86_64
  - cannot install the best update candidate for package catatonit-3:0.1.7-7.el9.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Comment 16 Dr. Stephan Wonczak 2022-09-15 11:22:02 UTC
Any news here yet? Existing installations are still broken and will not update cleanly.

Comment 17 Jindrich Novy 2022-09-15 11:42:24 UTC
Hello Stephan, dependencies need to get amended in both catatonit and podman-catatonit. Currently we have an issue in release engineering side preventing me from committing the fix. This issue should be addressed during today. Then it will allow me to commit the fix.

Comment 22 Dr. Stephan Wonczak 2022-10-04 12:26:32 UTC
Hi Jindrich, Any news yet? Update is still broken as of today.

Comment 23 Jindrich Novy 2022-10-04 13:42:12 UTC
Hi Stephan, we are currently in exception period. This one is approved for 0day meaning the fix can be committed 12th Oct earliest. I will make you aware once it's committed and fixed.

Thank you,
Jindrich

Comment 24 Dr. Stephan Wonczak 2022-10-07 11:06:33 UTC
Thanks for the update, Jindrich! I'll test and report back as soon as the fix arrives.

Comment 30 Joy Pu 2022-10-28 07:40:50 UTC
Test with podman-4.2.0-7.el9_1.x86_64.rpm and it works as expected. The package can be installed in a host that already installed catatonit. So move it to verified.


 yum install catatonit
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Last metadata expiration check: 2:44:24 ago on Fri 28 Oct 2022 06:52:06 AM CEST.
Dependencies resolved.
==================================================================================================================================================
 Package                           Architecture                   Version                                Repository                          Size
==================================================================================================================================================
Installing:
 catatonit                         x86_64                         3:0.1.7-7.el9                          beaker-CRB                         319 k

Transaction Summary
==================================================================================================================================================
Install  1 Package

Total download size: 319 k
Installed size: 821 k
Is this ok [y/N]: y
Downloading Packages:
catatonit-0.1.7-7.el9.x86_64.rpm                                                                                  3.7 MB/s | 319 kB     00:00    
--------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                             3.5 MB/s | 319 kB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                          1/1 
  Installing       : catatonit-3:0.1.7-7.el9.x86_64                                                                                           1/1 
  Running scriptlet: catatonit-3:0.1.7-7.el9.x86_64                                                                                           1/1 
  Verifying        : catatonit-3:0.1.7-7.el9.x86_64                                                                                           1/1 
Installed products updated.

Installed:
  catatonit-3:0.1.7-7.el9.x86_64                                                                                                                  

Complete!

# yum install podman-4.2.0-7.el9_1.x86_64.rpm
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Last metadata expiration check: 2:45:05 ago on Fri 28 Oct 2022 06:52:06 AM CEST.
podman-4.2.0-7.el9_1.x86_64.rpm                                                                                   5.7 MB/s |  12 MB     00:02    
Dependencies resolved.
==================================================================================================================================================
 Package                                Architecture               Version                             Repository                            Size
==================================================================================================================================================
Installing:
 podman                                 x86_64                     2:4.2.0-7.el9_1                     @commandline                          12 M
Installing dependencies:
 conmon                                 x86_64                     2:2.1.4-1.el9                       beaker-AppStream                      55 k
 container-selinux                      noarch                     3:2.189.0-1.el9                     beaker-AppStream                      53 k
 containers-common                      x86_64                     2:1-44.el9                          beaker-AppStream                     119 k
 criu                                   x86_64                     3.17-4.el9                          beaker-AppStream                     547 k
 criu-libs                              x86_64                     3.17-4.el9                          beaker-AppStream                      34 k
 crun                                   x86_64                     1.5-1.el9                           beaker-AppStream                     191 k
 fuse-overlayfs                         x86_64                     1.9-1.el9                           beaker-AppStream                      74 k
 fuse3                                  x86_64                     3.10.2-5.el9                        beaker-AppStream                      58 k
 fuse3-libs                             x86_64                     3.10.2-5.el9                        beaker-AppStream                      94 k
 libnet                                 x86_64                     1.2-6.el9                           beaker-AppStream                      61 k
 libslirp                               x86_64                     4.4.0-7.el9                         beaker-AppStream                      72 k
 netavark                               x86_64                     2:1.1.0-6.el9                       beaker-AppStream                     2.1 M
 protobuf-c                             x86_64                     1.3.3-12.el9                        beaker-BaseOS                         38 k
 shadow-utils-subid                     x86_64                     2:4.9-5.el9                         beaker-BaseOS                         90 k
 slirp4netns                            x86_64                     1.2.0-2.el9                         beaker-AppStream                      49 k
 yajl                                   x86_64                     2.1.0-21.el9                        beaker-AppStream                      42 k
Installing weak dependencies:
 aardvark-dns                           x86_64                     2:1.1.0-4.el9                       beaker-AppStream                     998 k
 tar                                    x86_64                     2:1.34-5.el9                        beaker-BaseOS                        890 k

Transaction Summary
==================================================================================================================================================
Install  19 Packages

...

# rpm -qa |grep -e podman -e cata
catatonit-0.1.7-7.el9.x86_64
podman-4.2.0-7.el9_1.x86_64

Comment 32 Dr. Stephan Wonczak 2022-11-02 11:46:02 UTC
The new podman-4.2.0-7 package has not landed (yet) in CentOS-9 Stream. As soon as it does, I will report back!

Comment 35 errata-xmlrpc 2022-11-15 15:59:17 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Low: podman security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:8431

Comment 37 Dr. Stephan Wonczak 2022-11-17 12:11:08 UTC
Just FYI: As of today, podman-4.2.0-7 still is not available for CENTOS-9 Stream

Comment 39 Josh Boyer 2022-11-17 15:01:01 UTC
(In reply to Dr. Stephan Wonczak from comment #37)
> Just FYI: As of today, podman-4.2.0-7 still is not available for CENTOS-9
> Stream

CentOS Stream 9 should inherit the fix via a podman-4.3.0 build.  podman-4.3.0-2.el9 or newer should be included in the next compose that is pushed to the mirrors.  If you want to grab it early, you can use the production compose from today:


https://odcs.stream.centos.org/production/CentOS-Stream-9-20221117.0/compose/

Comment 40 Dr. Stephan Wonczak 2022-11-25 12:24:22 UTC
Unfortunately, neither podman-4.3.0-2.el9 , nor podman-4.3.1-1.el9 fix the original reported problem. Update -still- fails with a wrong dependency:

[root@<host>~]$ LANG=C dnf update 
Last metadata expiration check: 0:07:49 ago on Fri Nov 25 13:13:49 2022.
Error: 
 Problem: package podman-2:4.3.1-1.el9.x86_64 conflicts with catatonit provided by catatonit-3:0.1.7-7.el9.x86_64
  - cannot install the best update candidate for package podman-2:4.1.1-6.el9.x86_64
  - cannot install the best update candidate for package catatonit-3:0.1.7-7.el9.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Comment 41 Kyle Walker 2022-12-06 21:05:03 UTC
(In reply to Dr. Stephan Wonczak from comment #40)
> Unfortunately, neither podman-4.3.0-2.el9 , nor podman-4.3.1-1.el9 fix the
> original reported problem. Update -still- fails with a wrong dependency:

My apologies for the continued failures. I can confirm that the following change landed in the c9s repos which should address that specific failure:

    https://gitlab.com/redhat/centos-stream/rpms/podman/-/commit/f4be3e2f8884d34ad234e8f9a18117705bc5118c

The underlying issue was that there was a conflict between the base podman package and catatonit. That has been removed following podman-4.3.1-2 as can be seen in that commit. Testing with the latest compose shows that the error is no longer seen.

	# cat /etc/os-release 
	NAME="CentOS Stream"
	VERSION="9"
	ID="centos"
	ID_LIKE="rhel fedora"
	VERSION_ID="9"
	PLATFORM_ID="platform:el9"
	PRETTY_NAME="CentOS Stream 9"
	ANSI_COLOR="0;31"
	LOGO="fedora-logo-icon"
	CPE_NAME="cpe:/o:centos:centos:9"
	HOME_URL="https://centos.org/"
	BUG_REPORT_URL="https://bugzilla.redhat.com/"
	REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux 9"
	REDHAT_SUPPORT_PRODUCT_VERSION="CentOS Stream"

	# rpm -q podman catatonit
	podman-4.1.1-6.el9.x86_64
	catatonit-0.1.7-7.el9.x86_64

	# yum update podman
	Last metadata expiration check: 0:49:34 ago on Tue Dec  6 20:14:36 2022.
	Error: 
	 Problem: package podman-2:4.3.1-1.el9.x86_64 conflicts with catatonit provided by catatonit-3:0.1.7-7.el9.x86_64
	  - cannot install the best update candidate for package podman-2:4.1.1-6.el9.x86_64
	  - problem with installed package catatonit-3:0.1.7-7.el9.x86_64
	(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

	# yum update podman --repofrompath latestappstream,https://odcs.stream.centos.org/production/latest-CentOS-Stream/compose/AppStream/x86_64/os/
	Added latestappstream repo from https://odcs.stream.centos.org/production/latest-CentOS-Stream/compose/AppStream/x86_64/os/
	Last metadata expiration check: 0:03:30 ago on Tue Dec  6 21:00:43 2022.
	Dependencies resolved.
	========================================================================================================
	 Package             Architecture        Version                     Repository                    Size
	========================================================================================================
	Upgrading:
	 podman              x86_64              2:4.3.1-3.el9               latestappstream               12 M

	Transaction Summary
	========================================================================================================
	Upgrade  1 Package

	Total download size: 12 M
	Is this ok [y/N]: n
	Operation aborted.

Comment 42 Dr. Stephan Wonczak 2022-12-08 12:20:45 UTC
Thank you for your continued efforts!
I can confirm that as of yesterday, the issue is finally solved! 
Here is a short excerpt of what dnf did:

[root@<host>~]$ LANG=C dnf history info 76 |grep -e podm -e cata
    Install       podman-catatonit-2:4.3.1-3.el9.x86_64                          @appstream
    Obsoleted     catatonit-3:0.1.7-7.el9.x86_64                                 @@System
    Upgrade       podman-2:4.3.1-3.el9.x86_64                                    @appstream
    Upgraded      podman-2:4.1.1-6.el9.x86_64                                    @@System

Finally, the problem is laid to rest ;-)

Comment 43 Jindrich Novy 2022-12-08 12:57:58 UTC
Thanks for confirmation Stephan :)


Note You need to log in before you can comment on or make changes to this bug.