Bug 2479

Summary: xulrunner conflcits due to exist sysconf file in libpackage
Product: Mageia Reporter: José Melo <mmodem00>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: dmorganec, marianne
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: xulrunner6.0-6.0-1.mga2 CVE:
Status comment:

Description José Melo 2011-08-21 06:48:39 CEST
xulrunner conflcits due to exist sysconf file in lib package.

xulrunner in its lib package haves this file:

/etc/ld.so.conf.d/xulrunner-64.conf

Its not a good idea to have a system file in a lib package, and of course there exist conflicts when the lib name changes when upgrading:

Preparing...                     ###########################################################################
Installation failed:    file /etc/ld.so.conf.d/xulrunner-64.conf from install of lib64xulrunner6.0-6.0-1.mga2.x86_64 conflicts with file from package lib64xulrunner5.0.1-5.0.1-2.mga2.x86_64

I also think thats not a good idea to obsolete/conflict the lib from a previous release just to fix this, since the user should be able to have both libs.
Marianne Lombard 2011-08-21 08:35:40 CEST

CC: (none) => marianne

Comment 1 Manuel Hiebel 2011-08-21 11:18:57 CEST
dmorgan I think it's for you 

Fri Aug 5 2011 dmorgan <dmorgan> 5.0.1-2.mga2

+ Revision: 131777
- Add ld.so.conf.d file

CC: (none) => dmorganec

Comment 2 D Morgan 2011-08-21 15:10:36 CEST
fixed now in svn for cauldron.

But as this is a cauldron/cauldron issue  you will have to do :

rpm -e --nodeps lib64xulrunner5.0.1 && urpmi lib64xulrunner6.0

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

Comment 3 José Melo 2011-08-21 19:01:21 CEST
You can use: urpmi --allow-force (this way the user is queried about)

or simply use: urpmi --force
Comment 4 José Melo 2011-08-21 19:07:01 CEST
But the problem is about the file being in lib package.
Comment 5 D Morgan 2011-08-21 20:49:43 CEST
yes but it is versionned now, so the pb should be fixed .
Comment 6 José Melo 2011-08-21 21:01:28 CEST
Great, but why put a system file in a lib package ?