Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#21338 - /usr/lib/python2.6/site-packages/ not empty

Attached to Project: Arch Linux
Opened by zeld (zeld) - Tuesday, 19 October 2010, 14:35 GMT
Last edited by Ionut Biru (wonder) - Tuesday, 19 October 2010, 15:58 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 0
Private No

Details

Description:
After upgradig to python 2.7 i have noticed that the folder "/usr/lib/python2.6/site-packages/" has not been removed and is not empty. This is the content:

ls /usr/lib/python2.6/site-packages/
libxml2.pyo PyQt4 sipconfig.pyc


END

zeld
This task depends upon

Closed by  Ionut Biru (wonder)
Tuesday, 19 October 2010, 15:58 GMT
Reason for closing:  Not a bug
Comment by Gerardo Exequiel Pozzi (djgera) - Tuesday, 19 October 2010, 14:49 GMT
It is not removed because these files are never controled by pacman. These files was generated by you when execute some apps as root.
Comment by Ionut Biru (wonder) - Tuesday, 19 October 2010, 14:50 GMT
do pacman -Qo on those files and see what packages owns them
Comment by zeld (zeld) - Tuesday, 19 October 2010, 15:37 GMT
pacman -Qo /usr/lib/python2.6/site-packages/libxml2.pyo
error: No package owns /usr/lib/python2.6/site-packages/libxml2.pyo

pacman -Qo /usr/lib/python2.6/site-packages/sipconfig.pyc
error: No package owns /usr/lib/python2.6/site-packages/sipconfig.pyc

pacman -Qo /usr/lib/python2.6/site-packages/PyQt4
error: cannot determine ownership of a directory

Comment by Ionut Biru (wonder) - Tuesday, 19 October 2010, 15:43 GMT
do a -Qo on a file inside PyQt4 directory. if nothing owns is it safe to delete it.

this is happening because libxml2 and the others doesn't include optimized python files in the package.
Comment by zeld (zeld) - Tuesday, 19 October 2010, 15:48 GMT
pacman -Qo /usr/lib/python2.6/site-packages/PyQt4/__init__.pyc
error: No package owns /usr/lib/python2.6/site-packages/PyQt4/__init__.pyc


ok... i delete the directory /usr/lib/python2.6/

Thanks. :)

zeld

Loading...