Bug 28325

Summary: python-qt5 package conflicts when updating MGA7 to MGA8 using urpmi
Product: Mageia Reporter: Oleg Bosis <olelukoie>
Component: RPM PackagesAssignee: David GEIGER <geiger.david68210>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: release_blocker CC: olelukoie, ouaurelien
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: python-qt5-5.15.2-1.mga8.src.rpm CVE:
Status comment:

Description Oleg Bosis 2021-02-08 19:49:21 CET
Description of problem:
I've Ipdated one of my PCs from mga7 to mga8 using 'urpmi --auto-update' command and had several package conflicts. (I don't know if I should report them separately so I'll put them all here for now.)

1. After removing old mga7 repos and adding mga8 ones I've run test update and got the following:

$ LC_ALL=C sudo urpmi --auto-update --test --noclean

... (here goes packages downloading)

Preparing...                     ###########################################################################################################################################################################################################
Installation failed:	file /usr/lib64/qt5/plugins/PyQt5/libpyqt5qmlplugin.so from install of python3-qt5-qml-5.15.2-1.mga8.x86_64 conflicts with file from package python2-qt5-qml-5.12.1-2.mga7.x86_64
	file /usr/include/opencv2 from install of opencv-devel-4.5.1-1.mga8.x86_64 conflicts with file from package opencv-devel-3.4.5-2.1.mga7.x86_64

2. After manually removing these two conflicting packages (python2-qt5-qml required for calibre, opencv-devel required for ffmpeg-devel) I've run the same command and got the message that the update is possible. But running the same command without --test option gave me the following:

Installation failed:	file /usr/share/doc/python3-qt5/NEWS from install of python3-qt5-5.15.2-1.mga8.x86_64 conflicts with file from package python3-qt5-doc-5.12.1-2.mga7.noarch
	file /usr/share/doc/python3-qt5/README from install of python3-qt5-5.15.2-1.mga8.x86_64 conflicts with file from package python3-qt5-doc-5.12.1-2.mga7.noarch

The update process mostly successfully proceeded with a couple of errors in %post scripts after manual removing python3-qt5-doc package:

Cwd.c: loadable library and perl binaries are mismatched (got handshake key 0xce00080, needed 0xed00080)
warning: %post(perl-XML-LibXML-2.20.600-1.mga8.x86_64) scriptlet failed, exit status 1
ERROR: 'script' failed for perl-XML-LibXML-2.20.600-1.mga8.x86_64


warning: %triggerun(samba-client-4.10.18-1.1.mga7.x86_64) scriptlet failed, exit status 1
ERROR: 'script' failed for samba-client-4.10.18-1.1.mga7.x86_64
  358/495: removing samba-client-4.10.18-1.1.mga7.x86_64

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


How reproducible:


Steps to Reproduce:
1.
2.
3.
Oleg Bosis 2021-02-08 19:49:51 CET

CC: (none) => olelukoie

Comment 1 Aurelien Oudelet 2021-02-09 15:13:19 CET
(In reply to Oleg Bosis from comment #0)
> Installation failed:	file /usr/lib64/qt5/plugins/PyQt5/libpyqt5qmlplugin.so
> from install of python3-qt5-qml-5.15.2-1.mga8.x86_64 conflicts with file
> from package python2-qt5-qml-5.12.1-2.mga7.x86_64
> 	file /usr/include/opencv2 from install of opencv-devel-4.5.1-1.mga8.x86_64
> conflicts with file from package opencv-devel-3.4.5-2.1.mga7.x86_64

This will be addressed by an update done By David Geiger to the package and will land M8 core/release repository ASAP to add better support on this.

 
> warning: %triggerun(samba-client-4.10.18-1.1.mga7.x86_64) scriptlet failed,
> exit status 1
> ERROR: 'script' failed for samba-client-4.10.18-1.1.mga7.x86_64
>   358/495: removing samba-client-4.10.18-1.1.mga7.x86_64
> 
This MUST be addressed by an update in Samba package in M7.
This is also pending.

Assigning to Samba maintainer.

Source RPM: (none) => samba-4.10.18-1.1.mga7.src.rpm
Status: NEW => ASSIGNED
Severity: normal => major
CC: (none) => ouaurelien
Assignee: bugsquad => bgmilne
Version: Cauldron => 7
Priority: Normal => High
Status comment: (none) => scriplet warning: %triggerun(samba-client-4.10.18-1.1.mga7.x86_64) scriptlet failed, exit status 1

Aurelien Oudelet 2021-02-09 15:13:43 CET

Summary: Package conflicts when updating MGA7 to MGA8 using urpmi => Samba package conflicts when updating MGA7 to MGA8 using urpmi

Comment 2 David Walser 2021-02-09 15:41:14 CET
Samba is already in Bug 28042.

Priority: High => release_blocker
Summary: Samba package conflicts when updating MGA7 to MGA8 using urpmi => python-qt5 package conflicts when updating MGA7 to MGA8 using urpmi
Severity: major => normal
Version: 7 => Cauldron
Assignee: bgmilne => geiger.david68210
Source RPM: samba-4.10.18-1.1.mga7.src.rpm => python-qt5-5.15.2-1.mga8.src.rpm
Status comment: scriplet warning: %triggerun(samba-client-4.10.18-1.1.mga7.x86_64) scriptlet failed, exit status 1 => (none)

Comment 3 Aurelien Oudelet 2021-02-09 15:50:07 CET
Oh, you're right David, Sorry.
Comment 4 Aurelien Oudelet 2021-02-09 18:15:02 CET
This has been fixed.
http://svnweb.mageia.org/packages?view=revision&revision=1675075

In a mirror next you soon.
For Samba error, see Bug 28042.

Resolution: (none) => FIXED
Status: ASSIGNED => RESOLVED