FS#28990 - [python-lxml] conflicting files when installing

Attached to Project: Arch Linux
Opened by Florian Bruhin (The-Compiler) - Sunday, 18 March 2012, 09:01 GMT
Last edited by Eric Belanger (Snowman) - Sunday, 18 March 2012, 19:35 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Since a few weeks, I am unable to update/install python-lxml:
-------------------------------------------
florian@dobby ~ % yaourt -S python-lxml
[...]
Targets (1): python-lxml-2.3.3-2
[...]
error: failed to commit transaction (conflicting files)
python-lxml: /usr/lib/python3.2/site-packages/lxml-2.3.3-py3.2.egg-info exists in filesystem
Errors occurred, no packages were upgraded.
florian@dobby ~ % yaourt -S python-lxml -f
[...]
error: extract: not overwriting dir with file usr/lib/python3.2/site-packages/lxml-2.3.3-py3.2.egg-info
error: problem occurred while installing python-lxml
error: could not commit transaction
error: failed to commit transaction (transaction aborted)
Errors occurred, no packages were upgraded.
-------------------------------------------

Also, somehow the permissions of my home directory magically changed to g+w since the last update, not sure if that's related though.

Mirror I use: http://mirror.devnu11.net/archlinux/$repo/os/$arch

Let me know if I can provide any other useful information.
This task depends upon

Closed by  Eric Belanger (Snowman)
Sunday, 18 March 2012, 19:35 GMT
Reason for closing:  Not a bug
Comment by Ionut Biru (wonder) - Sunday, 18 March 2012, 09:33 GMT
firstly, stop using yaourt
secondly paste pacman -Qo /usr/lib/python3.2/site-packages/lxml-2.3.3-py3.2.egg-info
Comment by Florian Bruhin (The-Compiler) - Sunday, 18 March 2012, 19:08 GMT
1) is hardly related to the problem, as yaourt just invokes pacman in this case. And if anyone would give me a rationale why to do so, I actually might.
2)
florian@ginny ~ % pacman -Qo /usr/lib/python3.2/site-packages/lxml-2.3.3-py3.2.egg-info
error: cannot determine ownership of directory '/usr/lib/python3.2/site-packages/lxml-2.3.3-py3.2.egg-info'

I had python-lxml installed before and uninstalled it when I was facing the error for the first time.
Comment by Eric Belanger (Snowman) - Sunday, 18 March 2012, 19:21 GMT
Are there files in the /usr/lib/python3.2/site-packages/lxml-2.3.3-py3.2.egg-info directory ? If so, can you run 'pacman -Qo' on them and paste the results.
Comment by Florian Bruhin (The-Compiler) - Sunday, 18 March 2012, 19:31 GMT
They're owned by python3-lxml. Removing that and installing python-lxml again solved my problem, still there seems to be an unclear transition somewhere, because python-lxml used to be 2.6 I think. Shouldn't it conflict with python3-lxml now?
Comment by Eric Belanger (Snowman) - Sunday, 18 March 2012, 19:34 GMT
python3-lxml was an AUR package. Packages in repo usually don't refer to AUR packages as they are unsupported.

Loading...