View Issue Details

IDProjectCategoryView StatusLast Update
0000273Rocky-Linux-9python3public2023-07-31 23:43
ReporterH Elavia Assigned ToLouis Abel  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Summary0000273: Python3-devel conflict with epel-rpm-macros-9-5.el9.noarch
DescriptionHello,

I'm trying to create cobbler rpms for Rocky Linux 9 and it requires the both python3-devel and epel-rpm-macros installed. There seems to be a conflict with the two packages regardless of which one is installed first. Please see the following error:

dnf install python3-devel
Last metadata expiration check: 0:25:45 ago on Fri 02 Sep 2022 04:42:32 PM PDT.
Error:
 Problem: problem with installed package epel-rpm-macros-9-5.el9.noarch
  - package epel-rpm-macros-9-5.el9.noarch requires (pyproject-rpm-macros if python3-rpm-macros), but none of the providers can be installed
  - problem with installed package rpm-build-4.16.1.3-12.el9_0.x86_64
  - package python3-devel-3.9.10-2.el9.x86_64 requires (python3-rpm-macros if rpm-build), but none of the providers can be installed
  - cannot install the best candidate for the job
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Steps To Reproducednf install epel-release
dnf clean all
dnf makecache
dnf -y update
dnf -y install epel-rpm-macros
dnf -y install python3-devel
Additional InformationThere are additional packages installed but the ones mentioned above are the issue. Please see below:

dnf -y install tftp-server openssl python3-cheetah python3-coverage createrepo rpm-build python3-pip-wheel python3-setuptools-wheel python3-pkginfo python3-pip python3-distro python3-netaddr python3-schema
pip3 install wheel
TagsNo tags attached.

Activities

Louis Abel

Louis Abel

2022-09-03 00:51

administrator   ~0000495

Hello.

I am unable to reproduce your issue.

[root@awx ~]# dnf clean all
0 files removed
[root@awx ~]# dnf repolist
repo id repo name
appstream Rocky Linux 9 - AppStream
baseos Rocky Linux 9 - BaseOS
crb Rocky Linux 9 - CRB
epel Extra Packages for Enterprise Linux 9 - x86_64
extras Rocky Linux 9 - Extras
[root@awx ~]# rpm -q epel-release
epel-release-9-4.el9.noarch
[root@awx ~]# dnf makecache
Extra Packages for Enterprise Linux 9 - x86_64 3.2 MB/s | 9.4 MB 00:02
Rocky Linux 9 - BaseOS 3.5 MB/s | 1.7 MB 00:00
Rocky Linux 9 - AppStream 11 MB/s | 6.0 MB 00:00
Rocky Linux 9 - CRB 2.8 MB/s | 1.9 MB 00:00
Rocky Linux 9 - Extras 37 kB/s | 6.6 kB 00:00
Metadata cache created.
[root@awx ~]# dnf update -y
Last metadata expiration check: 0:00:29 ago on Fri 02 Sep 2022 05:23:39 PM MST.
Dependencies resolved.
Nothing to do.
Complete!
[root@awx ~]# dnf install epel-rpm-macros -y
Last metadata expiration check: 0:00:38 ago on Fri 02 Sep 2022 05:23:39 PM MST.
Dependencies resolved.
================================================================================
 Package Architecture Version Repository Size
================================================================================
Installing:
 epel-rpm-macros noarch 9-5.el9 epel 16 k
Installing dependencies:
 ansible-srpm-macros noarch 1-7.el9 epel 7.6 k

Transaction Summary
================================================================================
Install 2 Packages

Total download size: 24 k
Installed size: 18 k
Downloading Packages:
(1/2): ansible-srpm-macros-1-7.el9.noarch.rpm 14 kB/s | 7.6 kB 00:00
(2/2): epel-rpm-macros-9-5.el9.noarch.rpm 30 kB/s | 16 kB 00:00
--------------------------------------------------------------------------------
Total 22 kB/s | 24 kB 00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing : 1/1
  Installing : ansible-srpm-macros-1-7.el9.noarch 1/2
  Installing : epel-rpm-macros-9-5.el9.noarch 2/2
  Running scriptlet: epel-rpm-macros-9-5.el9.noarch 2/2
  Verifying : ansible-srpm-macros-1-7.el9.noarch 1/2
  Verifying : epel-rpm-macros-9-5.el9.noarch 2/2

Installed:
  ansible-srpm-macros-1-7.el9.noarch epel-rpm-macros-9-5.el9.noarch

Complete!
[root@awx ~]# dnf install python3-devel
Last metadata expiration check: 0:00:43 ago on Fri 02 Sep 2022 05:23:39 PM MST.
Dependencies resolved.
================================================================================
 Package Architecture Version Repository Size
================================================================================
Installing:
 python3-devel x86_64 3.9.10-2.el9 appstream 208 k
Installing weak dependencies:
 python3-pip noarch 21.2.3-6.el9 appstream 1.7 M

Transaction Summary
================================================================================
Install 2 Packages

Total download size: 1.9 M
Installed size: 9.4 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): python3-devel-3.9.10-2.el9.x86_64.rpm 567 kB/s | 208 kB 00:00
(2/2): python3-pip-21.2.3-6.el9.noarch.rpm 3.4 MB/s | 1.7 MB 00:00
--------------------------------------------------------------------------------
Total 3.7 MB/s | 1.9 MB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing : 1/1
  Installing : python3-pip-21.2.3-6.el9.noarch 1/2
  Installing : python3-devel-3.9.10-2.el9.x86_64 2/2
  Running scriptlet: python3-devel-3.9.10-2.el9.x86_64 2/2
  Verifying : python3-pip-21.2.3-6.el9.noarch 1/2
  Verifying : python3-devel-3.9.10-2.el9.x86_64 2/2

Installed:
  python3-devel-3.9.10-2.el9.x86_64 python3-pip-21.2.3-6.el9.noarch

Complete!

---

Installing all packages you've mentioned works as well. This is another Rocky Linux 9 system.

[root@idp ~]# dnf -y install tftp-server openssl python3-cheetah python3-coverage createrepo rpm-build python3-pip-wheel python3-setuptools-wheel python3-pkginfo python3-pip python3-distro python3-netaddr python3-schema epel-rpm-macros python3-devel
Last metadata expiration check: 0:02:08 ago on Fri 02 Sep 2022 05:23:39 PM MST.
Package openssl-1:3.0.1-41.el9_0.x86_64 is already installed.
Package python3-pip-wheel-21.2.3-6.el9.noarch is already installed.
Package python3-setuptools-wheel-53.0.0-10.el9.noarch is already installed.
Package python3-netaddr-0.8.0-5.el9.noarch is already installed.
Dependencies resolved.
================================================================================
 Package Arch Version Repository Size
================================================================================
Installing:
 createrepo_c x86_64 0.17.7-4.el9_0 appstream 74 k
 epel-rpm-macros noarch 9-5.el9 epel 16 k
 python3-cheetah x86_64 3.2.6.post1-1.el9 epel 311 k
 python3-coverage x86_64 6.2-1.el9 epel 257 k
 python3-devel x86_64 3.9.10-2.el9 appstream 208 k
 python3-distro noarch 1.5.0-7.el9 appstream 36 k
 python3-pip noarch 21.2.3-6.el9 appstream 1.7 M
 python3-pkginfo noarch 1.8.2-3.el9 epel 35 k
 python3-schema noarch 0.7.5-3.el9 epel 35 k
 rpm-build x86_64 4.16.1.3-12.el9_0 appstream 95 k
 tftp-server x86_64 5.2-35.el9 appstream 40 k
Installing dependencies:
 ansible-srpm-macros noarch 1-7.el9 epel 7.6 k
 createrepo_c-libs x86_64 0.17.7-4.el9_0 appstream 98 k
 dwz x86_64 0.14-3.el9 appstream 127 k
 efi-srpm-macros noarch 6-2.el9_0 appstream 22 k
 elfutils x86_64 0.186-1.el9 baseos 521 k
 fonts-srpm-macros noarch 1:2.0.5-7.el9.1 appstream 27 k
 gdb-minimal x86_64 10.2-9.el9 appstream 3.5 M
 ghc-srpm-macros noarch 1.5.0-6.el9 appstream 7.8 k
 go-srpm-macros noarch 3.0.9-9.el9 appstream 26 k
 kernel-srpm-macros noarch 1.0-11.el9 appstream 15 k
 lua-srpm-macros noarch 1-6.el9 appstream 8.5 k
 ocaml-srpm-macros noarch 6-6.el9 appstream 7.8 k
 openblas-srpm-macros noarch 2-11.el9 appstream 7.4 k
 patch x86_64 2.7.6-16.el9 appstream 127 k
 perl-srpm-macros noarch 1-41.el9 appstream 8.2 k
 pyproject-rpm-macros noarch 1.0.0~rc1-1.el9 crb 38 k
 python-rpm-macros noarch 3.9-52.el9 appstream 18 k
 python-srpm-macros noarch 3.9-52.el9 appstream 22 k
 python3-packaging noarch 20.9-5.el9 appstream 69 k
 python3-pyparsing noarch 2.4.7-9.el9 baseos 150 k
 python3-rpm-generators noarch 12-8.el9 appstream 30 k
 python3-rpm-macros noarch 3.9-52.el9 appstream 15 k
 qt5-srpm-macros noarch 5.15.2-9.el9 appstream 8.9 k
 redhat-rpm-config noarch 194-1.el9 appstream 68 k
 rust-srpm-macros noarch 17-4.el9 appstream 9.3 k

Transaction Summary
================================================================================
Install 36 Packages

Total download size: 7.7 M
Installed size: 29 M
Downloading Packages:
(1/36): epel-rpm-macros-9-5.el9.noarch.rpm 20 kB/s | 16 kB 00:00
(2/36): ansible-srpm-macros-1-7.el9.noarch.rpm 8.9 kB/s | 7.6 kB 00:00
(3/36): python3-cheetah-3.2.6.post1-1.el9.x86_6 287 kB/s | 311 kB 00:01
(4/36): python3-pkginfo-1.8.2-3.el9.noarch.rpm 128 kB/s | 35 kB 00:00
(5/36): python3-coverage-6.2-1.el9.x86_64.rpm 732 kB/s | 257 kB 00:00
(6/36): python3-schema-0.7.5-3.el9.noarch.rpm 83 kB/s | 35 kB 00:00
(7/36): python3-rpm-generators-12-8.el9.noarch. 121 kB/s | 30 kB 00:00
(8/36): python3-pyparsing-2.4.7-9.el9.noarch.rp 219 kB/s | 150 kB 00:00
(9/36): elfutils-0.186-1.el9.x86_64.rpm 754 kB/s | 521 kB 00:00
(10/36): ghc-srpm-macros-1.5.0-6.el9.noarch.rpm 50 kB/s | 7.8 kB 00:00
(11/36): python3-packaging-20.9-5.el9.noarch.rp 456 kB/s | 69 kB 00:00
(12/36): python3-rpm-macros-3.9-52.el9.noarch.r 115 kB/s | 15 kB 00:00
(13/36): python-srpm-macros-3.9-52.el9.noarch.r 169 kB/s | 22 kB 00:00
(14/36): rust-srpm-macros-17-4.el9.noarch.rpm 69 kB/s | 9.3 kB 00:00
(15/36): python-rpm-macros-3.9-52.el9.noarch.rp 88 kB/s | 18 kB 00:00
(16/36): python3-distro-1.5.0-7.el9.noarch.rpm 249 kB/s | 36 kB 00:00
(17/36): efi-srpm-macros-6-2.el9_0.noarch.rpm 146 kB/s | 22 kB 00:00
(18/36): fonts-srpm-macros-2.0.5-7.el9.1.noarch 134 kB/s | 27 kB 00:00
(19/36): go-srpm-macros-3.0.9-9.el9.noarch.rpm 152 kB/s | 26 kB 00:00
(20/36): kernel-srpm-macros-1.0-11.el9.noarch.r 110 kB/s | 15 kB 00:00
(21/36): openblas-srpm-macros-2-11.el9.noarch.r 46 kB/s | 7.4 kB 00:00
(22/36): lua-srpm-macros-1-6.el9.noarch.rpm 47 kB/s | 8.5 kB 00:00
(23/36): redhat-rpm-config-194-1.el9.noarch.rpm 435 kB/s | 68 kB 00:00
(24/36): perl-srpm-macros-1-41.el9.noarch.rpm 63 kB/s | 8.2 kB 00:00
(25/36): rpm-build-4.16.1.3-12.el9_0.x86_64.rpm 569 kB/s | 95 kB 00:00
(26/36): patch-2.7.6-16.el9.x86_64.rpm 596 kB/s | 127 kB 00:00
(27/36): tftp-server-5.2-35.el9.x86_64.rpm 262 kB/s | 40 kB 00:00
(28/36): python3-devel-3.9.10-2.el9.x86_64.rpm 2.5 MB/s | 208 kB 00:00
(29/36): python3-pip-21.2.3-6.el9.noarch.rpm 3.7 MB/s | 1.7 MB 00:00
(30/36): ocaml-srpm-macros-6-6.el9.noarch.rpm 54 kB/s | 7.8 kB 00:00
(31/36): createrepo_c-libs-0.17.7-4.el9_0.x86_6 563 kB/s | 98 kB 00:00
(32/36): createrepo_c-0.17.7-4.el9_0.x86_64.rpm 364 kB/s | 74 kB 00:00
(33/36): dwz-0.14-3.el9.x86_64.rpm 570 kB/s | 127 kB 00:00
(34/36): qt5-srpm-macros-5.15.2-9.el9.noarch.rp 57 kB/s | 8.9 kB 00:00
(35/36): pyproject-rpm-macros-1.0.0~rc1-1.el9.n 209 kB/s | 38 kB 00:00
(36/36): gdb-minimal-10.2-9.el9.x86_64.rpm 2.3 MB/s | 3.5 MB 00:01
--------------------------------------------------------------------------------
Total 1.4 MB/s | 7.7 MB 00:05
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing : 1/1
  Installing : qt5-srpm-macros-5.15.2-9.el9.noarch 1/36
  Installing : gdb-minimal-10.2-9.el9.x86_64 2/36
  Installing : dwz-0.14-3.el9.x86_64 3/36
  Installing : createrepo_c-libs-0.17.7-4.el9_0.x86_64 4/36
  Installing : ocaml-srpm-macros-6-6.el9.noarch 5/36
  Installing : patch-2.7.6-16.el9.x86_64 6/36
  Installing : python3-pip-21.2.3-6.el9.noarch 7/36
  Installing : perl-srpm-macros-1-41.el9.noarch 8/36
  Installing : openblas-srpm-macros-2-11.el9.noarch 9/36
  Installing : lua-srpm-macros-1-6.el9.noarch 10/36
  Installing : kernel-srpm-macros-1.0-11.el9.noarch 11/36
  Installing : efi-srpm-macros-6-2.el9_0.noarch 12/36
  Installing : rust-srpm-macros-17-4.el9.noarch 13/36
  Installing : ghc-srpm-macros-1.5.0-6.el9.noarch 14/36
  Installing : python-srpm-macros-3.9-52.el9.noarch 15/36
  Installing : fonts-srpm-macros-1:2.0.5-7.el9.1.noarch 16/36
  Installing : go-srpm-macros-3.0.9-9.el9.noarch 17/36
  Installing : redhat-rpm-config-194-1.el9.noarch 18/36
  Installing : python-rpm-macros-3.9-52.el9.noarch 19/36
  Installing : python3-rpm-macros-3.9-52.el9.noarch 20/36
  Installing : pyproject-rpm-macros-1.0.0~rc1-1.el9.noarch 21/36
  Installing : elfutils-0.186-1.el9.x86_64 22/36
  Installing : python3-pyparsing-2.4.7-9.el9.noarch 23/36
  Installing : python3-packaging-20.9-5.el9.noarch 24/36
  Installing : python3-rpm-generators-12-8.el9.noarch 25/36
  Installing : ansible-srpm-macros-1-7.el9.noarch 26/36
  Installing : epel-rpm-macros-9-5.el9.noarch 27/36
  Installing : python3-devel-3.9.10-2.el9.x86_64 28/36
  Installing : rpm-build-4.16.1.3-12.el9_0.x86_64 29/36
  Installing : createrepo_c-0.17.7-4.el9_0.x86_64 30/36
  Installing : tftp-server-5.2-35.el9.x86_64 31/36
  Running scriptlet: tftp-server-5.2-35.el9.x86_64 31/36
  Installing : python3-distro-1.5.0-7.el9.noarch 32/36
  Installing : python3-schema-0.7.5-3.el9.noarch 33/36
  Installing : python3-pkginfo-1.8.2-3.el9.noarch 34/36
  Installing : python3-coverage-6.2-1.el9.x86_64 35/36
  Installing : python3-cheetah-3.2.6.post1-1.el9.x86_64 36/36
  Running scriptlet: python3-cheetah-3.2.6.post1-1.el9.x86_64 36/36
  Verifying : ansible-srpm-macros-1-7.el9.noarch 1/36
  Verifying : epel-rpm-macros-9-5.el9.noarch 2/36
  Verifying : python3-cheetah-3.2.6.post1-1.el9.x86_64 3/36
  Verifying : python3-coverage-6.2-1.el9.x86_64 4/36
  Verifying : python3-pkginfo-1.8.2-3.el9.noarch 5/36
  Verifying : python3-schema-0.7.5-3.el9.noarch 6/36
  Verifying : python3-pyparsing-2.4.7-9.el9.noarch 7/36
  Verifying : elfutils-0.186-1.el9.x86_64 8/36
  Verifying : python3-rpm-generators-12-8.el9.noarch 9/36
  Verifying : ghc-srpm-macros-1.5.0-6.el9.noarch 10/36
  Verifying : python3-packaging-20.9-5.el9.noarch 11/36
  Verifying : python3-rpm-macros-3.9-52.el9.noarch 12/36
  Verifying : python-srpm-macros-3.9-52.el9.noarch 13/36
  Verifying : python-rpm-macros-3.9-52.el9.noarch 14/36
  Verifying : rust-srpm-macros-17-4.el9.noarch 15/36
  Verifying : python3-distro-1.5.0-7.el9.noarch 16/36
  Verifying : efi-srpm-macros-6-2.el9_0.noarch 17/36
  Verifying : fonts-srpm-macros-1:2.0.5-7.el9.1.noarch 18/36
  Verifying : go-srpm-macros-3.0.9-9.el9.noarch 19/36
  Verifying : kernel-srpm-macros-1.0-11.el9.noarch 20/36
  Verifying : lua-srpm-macros-1-6.el9.noarch 21/36
  Verifying : openblas-srpm-macros-2-11.el9.noarch 22/36
  Verifying : redhat-rpm-config-194-1.el9.noarch 23/36
  Verifying : perl-srpm-macros-1-41.el9.noarch 24/36
  Verifying : python3-pip-21.2.3-6.el9.noarch 25/36
  Verifying : rpm-build-4.16.1.3-12.el9_0.x86_64 26/36
  Verifying : patch-2.7.6-16.el9.x86_64 27/36
  Verifying : tftp-server-5.2-35.el9.x86_64 28/36
  Verifying : ocaml-srpm-macros-6-6.el9.noarch 29/36
  Verifying : python3-devel-3.9.10-2.el9.x86_64 30/36
  Verifying : createrepo_c-libs-0.17.7-4.el9_0.x86_64 31/36
  Verifying : createrepo_c-0.17.7-4.el9_0.x86_64 32/36
  Verifying : dwz-0.14-3.el9.x86_64 33/36
  Verifying : gdb-minimal-10.2-9.el9.x86_64 34/36
  Verifying : qt5-srpm-macros-5.15.2-9.el9.noarch 35/36
  Verifying : pyproject-rpm-macros-1.0.0~rc1-1.el9.noarch 36/36

Installed:
  ansible-srpm-macros-1-7.el9.noarch
  createrepo_c-0.17.7-4.el9_0.x86_64
  createrepo_c-libs-0.17.7-4.el9_0.x86_64
  dwz-0.14-3.el9.x86_64
  efi-srpm-macros-6-2.el9_0.noarch
  elfutils-0.186-1.el9.x86_64
  epel-rpm-macros-9-5.el9.noarch
  fonts-srpm-macros-1:2.0.5-7.el9.1.noarch
  gdb-minimal-10.2-9.el9.x86_64
  ghc-srpm-macros-1.5.0-6.el9.noarch
  go-srpm-macros-3.0.9-9.el9.noarch
  kernel-srpm-macros-1.0-11.el9.noarch
  lua-srpm-macros-1-6.el9.noarch
  ocaml-srpm-macros-6-6.el9.noarch
  openblas-srpm-macros-2-11.el9.noarch
  patch-2.7.6-16.el9.x86_64
  perl-srpm-macros-1-41.el9.noarch
  pyproject-rpm-macros-1.0.0~rc1-1.el9.noarch
  python-rpm-macros-3.9-52.el9.noarch
  python-srpm-macros-3.9-52.el9.noarch
  python3-cheetah-3.2.6.post1-1.el9.x86_64
  python3-coverage-6.2-1.el9.x86_64
  python3-devel-3.9.10-2.el9.x86_64
  python3-distro-1.5.0-7.el9.noarch
  python3-packaging-20.9-5.el9.noarch
  python3-pip-21.2.3-6.el9.noarch
  python3-pkginfo-1.8.2-3.el9.noarch
  python3-pyparsing-2.4.7-9.el9.noarch
  python3-rpm-generators-12-8.el9.noarch
  python3-rpm-macros-3.9-52.el9.noarch
  python3-schema-0.7.5-3.el9.noarch
  qt5-srpm-macros-5.15.2-9.el9.noarch
  redhat-rpm-config-194-1.el9.noarch
  rpm-build-4.16.1.3-12.el9_0.x86_64
  rust-srpm-macros-17-4.el9.noarch
  tftp-server-5.2-35.el9.x86_64

Complete!

---

Could you verify the repositories you have enabled? You will need baseos, appstream, crb, and epel at a minimum. If you do not have crb enabled, run `crb enable`.
H Elavia

H Elavia

2022-09-06 14:47

reporter   ~0000497

Hello Louis,

Thanks for your feedback. enabling crb seems to have fixed the issue.

Regards,

Hanoz

Issue History

Date Modified Username Field Change
2022-09-03 00:16 H Elavia New Issue
2022-09-03 00:51 Louis Abel Assigned To => Louis Abel
2022-09-03 00:51 Louis Abel Status new => needinfo
2022-09-03 00:51 Louis Abel Note Added: 0000495
2022-09-06 14:47 H Elavia Note Added: 0000497
2022-09-06 15:26 Louis Abel Status needinfo => resolved
2022-09-06 15:26 Louis Abel Resolution open => no change required
2023-07-31 23:43 Louis Abel Status resolved => closed