Unable to update container-tools module due to dependency error on host registered with Red Hat Satellite 6

Solution Verified - Updated -

Environment

  • Red Hat Satellite 6
  • RHEL 8.5

Issue

  • Getting dependency error when run below command

    # yum module install container-tools:rhel8 -y
    
    Error: Transaction test error:
    file /usr/lib/python3.6/site-packages/podman/__init__.py from install of python3-podman-3.2.0-2.module+el8.5.0+12582+56d94c81.noarch conflicts with file from package python-podman-api-1.2.0-0.2.gitd0a45fe.module+el8.3.1+9857+68fb1526.noarch
    file /usr/lib/python3.6/site-packages/podman/__pycache__/__init__.cpython-36.opt-1.pyc from install of python3-podman-3.2.0-2.module+el8.5.0+12582+56d94c81.noarch conflicts with file from package python-podman-api-1.2.0-0.2.gitd0a45fe.module+el8.3.1+9857+68fb1526.noarch
    

Resolution

  • Remove below package and try to install container-tools again.

    # sudo yum remove python-podman-api 
    
  • For additional information refer Bugzilla

Root Cause

  • Cannot install both python-podman-api package together with python3-podman package due to the files conflicts.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments