Bug 31560

Summary: Conflicting files between "shared-mime-info-2.2-3.mga9" and "mageia-kde4-config-common-5-0.20150505.12.mga9.noarch"
Product: Mageia Reporter: Aurelian R <arusanu>
Component: RPM PackagesAssignee: KDE maintainers <kde>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: ghibomgx, mageia
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: shared-mime-info-2.2-3.mga9.src.rpm mageia-kde4-config-common-5-0.20150505.12.mga9.src.rpm CVE:
Status comment:

Description Aurelian R 2023-02-16 11:25:53 CET
Description of problem:

Installing/updating of shared-mime-info-2.2-3.mga9 package fails due to conflicting files from package mageia-kde4-config-common-5-0.20150505.12.mga9.

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

shared-mime-info-2.2-3.mga9
mageia-kde4-config-common-5-0.20150505.12.mga9.noarch

Steps to Reproduce:
1.Try to update/install both packages together.

Error message from urpmi:

Installation failed:    file /usr/share/applications/kde-mimeapps.list from install of shared-mime-info-2.2-3.mga9.x86_64 conflicts with file from package mageia-kde4-config-common-5-0.20150505.12.mga9.noarch

Regards.
Comment 1 Lewis Smith 2023-02-16 20:23:10 CET
Thank you for the report. shared-mime-info has just been updated again to:
 shared-mime-info-2.2-4
Can you please say whether the error still occurs after this update?

CC: (none) => lewyssmith
Status: NEW => NEEDINFO

Comment 2 Aurelian R 2023-02-16 22:23:21 CET
It is still the case with the new version "shared-mime-info-2.2-4.mga9".

PS: The file "/usr/share/applications/kde-mimeapps.list" is present in both packages, so one of these packages has to be altered or dropped maybe. 
 This particular system has been cloned and propagated from earlier versions of mageia and I don't recall why "mageia-kde4-config-common" was installed, but it seems to be pulled by "Default-kde4-config" package... 
This bug may hinder upgrading to Mageia 9 if "mageia-kde4-config-common" package is present.
Comment 3 Lewis Smith 2023-02-17 21:51:53 CET
Thank you for this update.
Something needs to be fixed. Assigning to KDE team for:
 mageia-kde4-config-common
and CC'ing ghibo who has updated:
 shared-mime-info
recently.

Status: NEEDINFO => NEW
CC: lewyssmith => ghibomgx
Assignee: bugsquad => kde

Comment 4 Giuseppe Ghibò 2023-02-17 21:55:35 CET
Yep, I'm on it, as suggested on dev@ml, needed to remove /usr/share/applications/kde-mimeapps.list from  mageia-kde4-config-common and add a lua script for proper upgrading.
Comment 5 Nicolas Lécureuil 2023-02-20 10:54:13 CET
from what i saw this one can be closed no ?

CC: (none) => mageia

Comment 6 Aurelian R 2023-02-20 11:09:11 CET
I've not been running into any issues after latest updates.
Thanks and closing...

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