Bug 10222 - 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)
Summary: lua file conflict (file /usr/bin/lua5.1 from install of lua5.1-5.1.5-2.mga3.x...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 3
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: has_procedure mga3-32-ok mga3-64-ok
Keywords: Triaged, validated_update
Depends on:
Blocks:
 
Reported: 2013-05-22 15:28 CEST by claire robinson
Modified: 2013-08-17 10:28 CEST (History)
6 users (show)

See Also:
Source RPM: lua5.1-5.1.5-2.1.mga3.src.rpm
CVE:
Status comment:


Attachments

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


Note You need to log in before you can comment on or make changes to this bug.