Bug 10222

Summary: lua file conflict (file /usr/bin/lua5.1 from install of lua5.1-5.1.5-2.mga3.x86_64 conflicts with file from package lua-5.1.4-10.1.mga2.x86_64)
Product: Mageia Reporter: claire robinson <eeeemail>
Component: RPM PackagesAssignee: QA Team <qa-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: dmorganec, fundawang, luigiwalser, monnier.florent, sysadmin-bugs, tmb
Version: 3Keywords: Triaged, validated_update
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: has_procedure mga3-32-ok mga3-64-ok
Source RPM: lua5.1-5.1.5-2.1.mga3.src.rpm CVE:
Status comment:

Description claire robinson 2013-05-22 15:28:43 CEST
Performing final updates with urpmi after DVD upgrade from mga2 64

Installation failed:    file /usr/bin/lua5.1 from install of lua5.1-5.1.5-2.mga3.x86_64 conflicts with file from package lua-5.1.4-10.1.mga2.x86_64
        file /usr/bin/luac5.1 from install of lua5.1-5.1.5-2.mga3.x86_64 conflicts with file from package lua-5.1.4-10.1.mga2.x86_64
        lua5.1 is needed by (installed) libquvi-scripts-0.4.9-2.mga3.noarch


Reproducible: 

Steps to Reproduce:
claire robinson 2013-05-22 15:29:23 CEST

Hardware: i586 => x86_64

Comment 1 claire robinson 2013-05-22 15:32:10 CEST
Resolved with..

# rpm -e --no-deps lua
# urpmi lua
Comment 2 claire robinson 2013-05-22 15:34:30 CEST
Sorry, should say urpmi lua5.1
Manuel Hiebel 2013-05-24 20:19:40 CEST

Keywords: (none) => Triaged
CC: (none) => dmorganec, fundawang, guillomovitch, monnier.florent

Comment 3 David Walser 2013-08-10 21:18:05 CEST
I *think* the correct fix would be adding this to lua5.1:
Conflicts: lua < 5.1.4-11

Fixing this in Cauldron wouldn't be strictly necessary as mga2->mga4 upgrades aren't officially supported.

CC: (none) => luigiwalser

Guillaume Rousse 2013-08-12 14:36:57 CEST

CC: guillomovitch => (none)

Comment 4 David Walser 2013-08-13 23:06:52 CEST
Fixed in lua5.1-5.1.5-2.1.mga3.

Someone will have to test an upgrade from Mageia 2 with lua and libquvi-scripts installed to hopefully verify the fix.

Advisory:
----------------------------------------

lua5.1 has been fixed to avoid a conflict with lua when upgrading from Mageia 2.

----------------------------------------
Updated packages in core/updates_testing:
----------------------------------------
lua5.1-5.1.5-2.1.mga3
liblua5.1-5.1.5-2.1.mga3
liblua5.1-devel-5.1.5-2.1.mga3
liblua5.1-devel-static-5.1.5-2.1.mga3

from lua5.1-5.1.5-2.1.mga3.src.rpm

QA Contact: (none) => qa-bugs
Hardware: x86_64 => All

Comment 5 David Walser 2013-08-13 23:32:37 CEST
Whoops, put QA in the wrong field.

Fixed in lua5.1-5.1.5-2.1.mga3.

Someone will have to test an upgrade from Mageia 2 with lua and libquvi-scripts installed to hopefully verify the fix.

Advisory:
----------------------------------------

lua5.1 has been fixed to avoid a conflict with lua when upgrading from Mageia 2.

----------------------------------------
Updated packages in core/updates_testing:
----------------------------------------
lua5.1-5.1.5-2.1.mga3
liblua5.1-5.1.5-2.1.mga3
liblua5.1-devel-5.1.5-2.1.mga3
liblua5.1-devel-static-5.1.5-2.1.mga3

from lua5.1-5.1.5-2.1.mga3.src.rpm

Assignee: bugsquad => qa-bugs
QA Contact: qa-bugs => (none)

Comment 6 claire robinson 2013-08-14 17:17:58 CEST
Having trouble reproducing this now, was it already fixed?
Comment 7 David Walser 2013-08-14 17:27:28 CEST
(In reply to claire robinson from comment #6)
> Having trouble reproducing this now, was it already fixed?

No, but I'm not terribly surprised if it's hard to reproduce.  It would depend on the order that urpmi decides to install packages during the upgrade, which I suppose isn't guaranteed to always be the same.  You'd see the problem if it tries to upgrade libquvi-scripts before upgrading lua.
Comment 8 claire robinson 2013-08-14 18:52:08 CEST
Testing complete mga3 32

I've manage to reproduce this now.

# rpm -e --nodeps lua
# rpm -e --nodeps lua5.1
# urpmi http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/2/i586/media/core/updates/lua-5.1.4-10.1.mga2.i586.rpm

Installing lua from mga2 into mga3. Then installing the mga3 lua5.1

# urpmi lua5.1

With release version it fails to install due to the file conflict but the testing version installs fine and bring lua back in with it.

Whiteboard: (none) => has_procedure mga3-32-ok

claire robinson 2013-08-14 19:31:25 CEST

Source RPM: (none) => lua5.1-5.1.5-2.1.mga3.src.rpm

Comment 9 claire robinson 2013-08-15 09:33:12 CEST
Testing complete mga3 64

Validating. Advisory uploaded.

Could sysadmin please push from 3 core/updates_testing to updates

Thanks!

CC: (none) => sysadmin-bugs
Keywords: (none) => validated_update
Whiteboard: has_procedure mga3-32-ok => has_procedure mga3-32-ok mga3-64-ok

Comment 10 Thomas Backlund 2013-08-17 10:28:38 CEST
Update pushed:
http://advisories.mageia.org/MGAA-2013-0086.html

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