FS#61401 - [gameconqueror] __pycache__ prevents update

Attached to Project: Community Packages
Opened by Hendrik (Hendrikto) - Monday, 14 January 2019, 13:36 GMT
Last edited by Balló György (City-busz) - Friday, 29 March 2019, 11:48 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

When updating gameconqueror to 0.17-2, the following error prevented the installation:

error: failed to commit transaction (conflicting files)
gameconqueror: /usr/share/gameconqueror/__pycache__/backend.cpython-37.pyc exists in filesystem
gameconqueror: /usr/share/gameconqueror/__pycache__/consts.cpython-37.pyc exists in filesystem
gameconqueror: /usr/share/gameconqueror/__pycache__/hexview.cpython-37.pyc exists in filesystem
gameconqueror: /usr/share/gameconqueror/__pycache__/misc.cpython-37.pyc exists in filesystem
Errors occurred, no packages were upgraded.

This was easily resolved by remove the files in question, but I think it is still a bug. I have not modified gameconqueror in any way.
After removing the files, I could upgrade gameconqueror without problems.
This task depends upon

Closed by  Balló György (City-busz)
Friday, 29 March 2019, 11:48 GMT
Reason for closing:  Not a bug
Comment by Levente Polyak (anthraxx) - Monday, 14 January 2019, 15:14 GMT
gameconqueror was somehow not rebuilt for python 3.7, therefor it still shipped *-36.pyc while you started it with python 3.7 as root, which generated exactly those files. Now that gameconqueror got a rebuild for readline, it generated the *-37.pyc files which lead to your problem.
using pacman --overwrite during -Syu should resolve the problem, maybe worth a news entry.

Loading...