Bug 2214012 - dnf install barman fails on python3dist error [NEEDINFO]
Summary: dnf install barman fails on python3dist error
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: barman
Version: epel8
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Simone Caronni
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-11 03:33 UTC by David Cramblett
Modified: 2023-07-10 07:49 UTC (History)
3 users (show)

Fixed In Version: barman-3.5.0-3.el8 barman-3.5.0-3.fc38 barman-3.5.0-3.fc37 barman-3.5.0-3.el7 barman-3.5.0-3.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-06-22 01:40:01 UTC
Type: Bug
Embargoed:
negativo17: needinfo?


Attachments (Terms of Use)

Description David Cramblett 2023-06-11 03:33:43 UTC
Description of problem:

  "dnf install barman" fails with the following error:

   Problem: cannot install the best candidate for the job
     - nothing provides python3dist(barman) = 3.5 needed by barman-3.5.0-2.el8.noarch from epel



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

  barman 3.5.0-2.el8


How reproducible:

  Every time.


Steps to Reproduce:
  1. Build new install of CentOS Stream release 8
  2. Add EPEL repository
  3. Attempt to "dnf install barman"

Actual results:

  barman fails to install with error: nothing provides python3dist(barman) = 3.5 needed by barman-3.5.0-2.el8.noarch from epel.


Expected results:

  barman installs sucsessfully.

Comment 1 Allan Harry Nielsen 2023-06-12 22:15:34 UTC
Hi

I can confirm that issue also exists in EPEL7 and EPEL9

Comment 2 Simone Caronni 2023-06-13 09:29:41 UTC
Argh, the build kills the trailing ".0" only on Fedora (Python 3.11), but keeps it for lower Python versions.

Looking into it.

Comment 3 Simone Caronni 2023-06-13 09:44:58 UTC
https://peps.python.org/pep-0440/ is enforced only on Fedora builds, not lower ones. Since the SPEC file is in common, I've removed the versioned dependency.

Comment 4 Fedora Update System 2023-06-13 10:48:35 UTC
FEDORA-2023-71a41780f3 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-71a41780f3

Comment 5 Fedora Update System 2023-06-13 10:48:37 UTC
FEDORA-EPEL-2023-3fb4ae7a50 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-3fb4ae7a50

Comment 6 Fedora Update System 2023-06-13 10:48:38 UTC
FEDORA-EPEL-2023-5a3fb36d90 has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-5a3fb36d90

Comment 7 Simone Caronni 2023-06-13 10:49:29 UTC
Please leave feedback on the update to make it reach stable earlier. Thanks.

Comment 8 Fedora Update System 2023-06-14 00:59:39 UTC
FEDORA-EPEL-2023-5a3fb36d90 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-5a3fb36d90

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2023-06-14 01:17:57 UTC
FEDORA-EPEL-2023-3fb4ae7a50 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-3fb4ae7a50

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2023-06-14 01:23:28 UTC
FEDORA-EPEL-2023-387c8ef0a9 has been pushed to the Fedora EPEL 7 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-387c8ef0a9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2023-06-14 02:32:12 UTC
FEDORA-2023-71a41780f3 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-71a41780f3`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-71a41780f3

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2023-06-14 03:00:33 UTC
FEDORA-2023-33f870de79 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-33f870de79`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-33f870de79

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Allan Harry Nielsen 2023-06-14 08:13:30 UTC
Hi

I can confirm that dependency now is resolved as we have fetched it manually.
This was in RedHat 8.8
Thank you 

Regards Allan

Comment 14 Fedora Update System 2023-06-22 01:40:01 UTC
FEDORA-EPEL-2023-3fb4ae7a50 has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Fedora Update System 2023-06-22 02:26:42 UTC
FEDORA-2023-71a41780f3 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 16 Fedora Update System 2023-06-22 02:37:50 UTC
FEDORA-2023-33f870de79 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 17 Fedora Update System 2023-06-22 02:42:24 UTC
FEDORA-EPEL-2023-387c8ef0a9 has been pushed to the Fedora EPEL 7 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 18 Fedora Update System 2023-06-22 02:42:29 UTC
FEDORA-EPEL-2023-5a3fb36d90 has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 19 sec-ee 2023-06-27 14:41:48 UTC
On Centos 7 with EPEL 7, I still am getting these errors when installing barman:

What am I doing wrong here?

xxxxxx(xxxxx:~ -> sudo yum install barman
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package barman.noarch 0:3.5.0-3.el7 will be installed
--> Processing Dependency: python3.6dist(argcomplete) for package: barman-3.5.0-3.el7.noarch
--> Processing Dependency: python3.6dist(barman) for package: barman-3.5.0-3.el7.noarch
--> Finished Dependency Resolution
Error: Package: barman-3.5.0-3.el7.noarch (epel)
           Requires: python3.6dist(barman)
Error: Package: barman-3.5.0-3.el7.noarch (epel)
           Requires: python3.6dist(argcomplete)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Comment 20 Simone Caronni 2023-06-28 13:53:00 UTC
Argh, that's because the python36-argcomplete package in EPEL is broken and is not providing "python3.6dist(argcomplete)".

I'm checking if I can just push an update there.

Comment 21 Simone Caronni 2023-06-28 14:58:50 UTC
@sec-ee I've pushed a new update (3.6.0) for el7 with Python packages rebuilt to provide the updated dependency format:

https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-c438e33b9f

Please leave karma so it reaches stable as soon as possible. Thanks!


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