FS#33112 - [lua51-socket, lua51-sec] incomplete conflicts and replaces arrays

Attached to Project: Community Packages
Opened by Erik Johnson (archtaku) - Monday, 17 December 2012, 06:07 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 18 December 2012, 12:25 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

On Dec. 13th, luasocket was replaced in a pacman -Syu with both lua-socket and lua51-socket. A new upgrade to lua51-socket (quick on the heels of the previous one) now causes a file conflict when I try to upgrade.

ejohnson@ltwejohnson:~% sudo grep lua /var/log/pacman.log | grep socket | grep 2012-12
[2012-12-13 02:04] removed luasocket (2.0.2-5)
[2012-12-13 02:06] installed lua-socket (2.0.2-2)
[2012-12-13 02:06] installed lua51-socket (2.0.2-2)
[2012-12-13 23:09] upgraded lua-socket (2.0.2-2 -> 2.0.2-3)
[2012-12-13 23:09] upgraded lua51-socket (2.0.2-2 -> 2.0.2-3)

To fix this I removed lua-{socket,sec} and upgraded lua51-{socket,sec}. Not sure if this is something that can be fixed by updating the conflicts and replaces arrays, or if any affected lua package will have to be manually removed (like I did) to solve the issue. If the latter is true, just close this bug report.
This task depends upon

Closed by  Sergej Pupykin (sergej)
Tuesday, 18 December 2012, 12:25 GMT
Reason for closing:  Not a bug
Comment by Erik Johnson (archtaku) - Monday, 17 December 2012, 06:09 GMT
The description above is incomplete. I meant to add that the same thing that happened with lua51-socket also happened with lua51-sec, and possibly others that I don't have installed.
Comment by Sergej Pupykin (sergej) - Monday, 17 December 2012, 10:07 GMT
lua-sec and lua-socket do not exist anymore, so you should remove them. I don't think they should be added to replaces=()
Comment by Erik Johnson (archtaku) - Monday, 17 December 2012, 15:45 GMT
Yeah, I did already. Just didn't know if adding to replaces/conflicts would be something you'd want to do. I know it doesn't exist anymore, but some people may yet have them installed. Feel free to close this report.

Loading...