Thank you Michael,

I will pay closer attention to the numbers in future!

----- Ursprüngliche Mail -----
Von: "Michael Mraka" <michael.mr...@redhat.com>
An: "spacewalk-devel" <spacewalk-devel@redhat.com>
Gesendet: Montag, 9. März 2020 11:49:58
Betreff: Re: [Spacewalk-devel] rhnpush with Python2 and Python 3

Stefan Bluhm:
> Hello Michael,
> 
> > You need the same version of python3-dmidecode and python2-dmidecode (built 
> > from the same srpm) so the /usr/share/python-dmidecode/pymap.xml file is 
> > identical in both and do not conflict.
> 
> That might be. But the package building still conflicts as dnf does not know 
> this (see error message below). Is it still possible to build rhnpush 
> (without manual interaction) or is this a bug in the spec file?

Dnf does know. Quick test on F30:

[root@d3119aed1f35 /]# dnf install python3-dmidecode python2-dmidecode -y
Last metadata expiration check: 0:01:50 ago on Mon Mar  9 10:42:44 2020.
Dependencies resolved.
==========================================================================================================
 Package                              Architecture     Version                  
  Repository         Size
==========================================================================================================
Installing:
 python2-dmidecode                    x86_64           3.12.2-14.fc30           
  fedora             87 k
 python3-dmidecode                    x86_64           3.12.2-14.fc30           
  fedora             86 k
Installing dependencies:
 python2                              x86_64           2.7.17-1.fc30            
  updates            45 k
...
Complete!
[root@d3119aed1f35 /]# rpm -qf /usr/share/python-dmidecode/pymap.xml
python2-dmidecode-3.12.2-14.fc30.x86_64
python3-dmidecode-3.12.2-14.fc30.x86_64


In your case: "file /usr/share/python-dmidecode/pymap.xml from install of
python3-dmidecode-3.12.2-15.el8.x86_64 conflicts with file from package
python2-dmidecode-3.12.2-11.el8.x86_64"

3.12.2-15 != 3.12.2-11

Regards,


--
Michael Mráka
System Management Engineering, Red Hat

_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to