FS#76741 - [python-cairo] files in conflict

Attached to Project: Arch Linux
Opened by Luca Ruggeri (lcruggeri) - Sunday, 04 December 2022, 20:59 GMT
Last edited by Toolybird (Toolybird) - Sunday, 04 December 2022, 21:38 GMT
Task Type Bug Report
Category Packages: Extra
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 2
Private No

Details

Description: failed to commit transaction (conflicting files)
python-cairo: /usr/lib/python3.10/site-packages/cairo/__pycache__/__init__.cpython-310.pyc exists in filesystem
Errors occurred, no packages were upgraded.

No pip packages installed as system
This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 04 December 2022, 21:38 GMT
Reason for closing:  None
Additional comments about closing:  See comments
Comment by loqs (loqs) - Sunday, 04 December 2022, 21:03 GMT
Related to  FS#76731 
Comment by Luca Ruggeri (lcruggeri) - Sunday, 04 December 2022, 21:11 GMT
Package version is 1.23.0-2
"Solved" by using --overwrite on the filename
Comment by Adrian Insaurralde (adrianinsaval) - Sunday, 04 December 2022, 21:31 GMT
I had the same error, are pycache files really needed? aren't these supposed to be created at runtime? or are these included so that they are removed by pacman when uninstalling?
Comment by Toolybird (Toolybird) - Sunday, 04 December 2022, 21:38 GMT
This was caused by an unfortunate packaging glitch that is now fixed. Most folks won't be affected.

In your case, it appears some pkg that uses "python-cairo" was run as root on your system (we know this because it had write access to /usr/lib/*).

In the past, a front page news item was issued for this kind of thing. e.g. [1] but python-cairo unfortunately has no maintainer :(

Anyway, the fix is easy and well known.

[1] https://archlinux.org/news/hplip-3203-2-update-requires-manual-intervention/

Loading...