Bug 1995252 - nothing provides python3.6dist(packaging)
Summary: nothing provides python3.6dist(packaging)
Keywords:
Status: CLOSED DUPLICATE of bug 1993287
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: borgbackup
Version: epel8
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Felix Schwarz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-18 16:58 UTC by Thomas Doczkal
Modified: 2021-08-20 06:15 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-08-19 06:27:46 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Thomas Doczkal 2021-08-18 16:58:19 UTC
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.

Comment 1 Lumír Balhar 2021-08-19 06:02:14 UTC
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.

Comment 2 Felix Schwarz 2021-08-19 06:27:46 UTC
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 ***

Comment 3 Felix Schwarz 2021-08-19 06:28:49 UTC
err, the command should read:

 $ dnf config-manager --set-enabled powertools

Comment 4 Thomas Doczkal 2021-08-19 10:06:12 UTC
Thanks for the hint. I'll look into this.

Comment 5 Lumír Balhar 2021-08-20 06:15:52 UTC
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


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