Skip to content

logconv.py: python3-magic conflicts with python3-file-magic #6544

Description

@vashirov

Issue Description
From:
https://bodhi.fedoraproject.org/updates/FEDORA-2025-d546c237ea#comment-3931147

So this is failing tests because 389-ds-base added a dependency on "python-magic", and that seems to cause a conflict:

2025-01-24T20:16:39+0000 [3587] ERROR Problem 1: package 389-ds-base-3.1.2-1.fc42.x86_64 from advisory requires python-magic, but none of the providers can be installed
  - installed package python3-file-magic-5.45-9.fc42.noarch conflicts with python3-magic provided by python3-magic-0.4.27-10.fc42.noarch from koji-rawhide
  - installed package python3-file-magic-5.45-9.fc42.noarch conflicts with python3-magic provided by python3-magic-0.4.27-10.fc42.noarch from rawhide
  - cannot install the best update candidate for package python3-file-magic-5.45-9.fc42.noarch
  - cannot install the best update candidate for package 389-ds-base-3.1.1-6.fc42.x86_64
 Problem 2: problem with installed package
  - installed package python3-file-magic-5.45-9.fc42.noarch conflicts with python3-magic provided by python3-magic-0.4.27-10.fc42.noarch from koji-rawhide
  - package python3-file-magic-5.45-9.fc42.noarch from koji-rawhide conflicts with python3-magic provided by python3-magic-0.4.27-10.fc42.noarch from koji-rawhide
  - package python3-file-magic-5.45-9.fc42.noarch from rawhide conflicts with python3-magic provided by python3-magic-0.4.27-10.fc42.noarch from koji-rawhide
  - package 389-ds-base-3.1.2-1.fc42.x86_64 from advisory requires python-magic, but none of the providers can be installed
  - installed package python3-file-magic-5.45-9.fc42.noarch conflicts with python3-magic provided by python3-magic-0.4.27-10.fc42.noarch from rawhide
  - package python3-file-magic-5.45-9.fc42.noarch from koji-rawhide conflicts with python3-magic provided by python3-magic-0.4.27-10.fc42.noarch from rawhide
  - package python3-file-magic-5.45-9.fc42.noarch from rawhide conflicts with python3-magic provided by python3-magic-0.4.27-10.fc42.noarch from rawhide
  - package python3-lib389-3.1.2-1.fc42.noarch from advisory requires 389-ds-base = 3.1.2-1.fc42, but none of the providers can be installed
  - cannot install the best update candidate for package python3-lib389-3.1.1-6.fc42.noarch

Basically we already have python3-file-magic installed, and it conflicts with python3-magic, so the newer 389-ds-base cannot be installed. I think we have python3-file-magic installed in the test environment because sos depends on it, and sos is in the 'standard' comps group, and server-product-environment includes 'standard', so it's in a default Server package set. It's also in any other package set that includes 'standard', and it's also in Workstation because it's in the 'workstation-product' group directly. So, this 389-ds-base won't be installable in a lot of configs (pretty much only minimal installs will be OK).

CC: @jchapma

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageThe issue will be triaged during scrum

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions