Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: Problem: conflicting requests - nothing provides python3.6dist(packaging) needed by borgbackup-1.1.17-1.el8.x86_64 Version-Release number of selected component (if applicable): # cat /etc/redhat-release CentOS Linux release 8.4.2105 How reproducible: dnf install borgbackup Steps to Reproduce: 1. dnf -y install borgbackup Actual results: Last metadata expiration check: 0:58:21 ago on Wed 18 Aug 2021 05:57:45 PM CEST. Error: Problem: conflicting requests - nothing provides python3.6dist(packaging) needed by borgbackup-1.1.17-1.el8.x86_64 (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) Expected results: Install borgbackup-1.1.17-1.el8.x86_64 Additional info: borgbackup is part of the epel repository.
Thanks for the report but this is not a bug in python-packaging. The problem is, that borgbackup-1.1.17-1.el8 depends on python3.6dist(packaging) but the previous version 1.1.16-1.el8 does not. The maintainer of borgbackup updated the package in epel8 and hasn't check whether all its dependencies are available there. See the last line in the compatibility section in the changelog: https://github.com/borgbackup/borg/blob/1.1.17/docs/changes.rst#version-1117-2021-07-12 If we want to make packaging available in epel8, we'd need to find a maintainer for the epel8 branch first.
python3-packaging is provided by Red Hat via the PowerTools repository. You need to enable the "PowerTools"/"codeready-builder-for-rhel…" repository: $ config-manager --set-enabled powertools See also: https://fedoraproject.org/wiki/EPEL#Quickstart Unfortunately there is not much we can do about this. Basically Red Hat decided not to ship some packages in the default channels and CentOS decided not to enable PowerTools by default (I think Rocky Linux + Alma Linux do). *** This bug has been marked as a duplicate of bug 1993287 ***
err, the command should read: $ dnf config-manager --set-enabled powertools
Thanks for the hint. I'll look into this.
Thanks Felix for the explanation, I did not know about that. I've found an interesting thread about it: https://marc.info/?l=centos-devel&m=162147433318375