Red Hat Bugzilla – Bug 234443
Files in /usr/lib un-owned by any package
Last modified: 2007-11-30 17:07:28 EST
Description of problem:
Version-Release number of selected component (if applicable):
$rpm -qa | grep '^python'
file /usr/lib/python2.3/site-packages/japanese/aliases/__init__.pyo is not owned
by any package
file /usr/lib/python2.3/site-packages/japanese/__init__.pyo is not owned by any
file /usr/lib/python2.3/site-packages/libxml2.pyc is not owned by any package
file /usr/lib/python2.3/site-packages/rhpl/gzread.pyo is not owned by any package
file /usr/lib/python2.3/site-packages/rhpl/__init__.pyo is not owned by any package
file /usr/lib/python2.3/site-packages/rhpl/translate.pyo is not owned by any package
file /usr/lib/python2.3/site-packages/xf86config.pyc is not owned by any package
Steps to Reproduce:
"rpm -qf" on any of the above files.
RPM reports the files aren't owned by any package
Since these files are in /usr/lib, they should be owned by a package.
The files also aren't shipped by any package; they get created at runtime when
you run a python app with -O2.
With RHEL5, we've moved to always pre-generating all of the .pyc and .pyo files
which helps to avoid things like this.