Red Hat Bugzilla – Bug 143521
yum puts files in /usr/lib/python2.3/site-packages
Last modified: 2014-01-21 17:50:48 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Description of problem:
yum packaged for x86_64 seems to improperly put files in
/usr/lib/python2.3/site-packages. It should be
/usr/lib64/python2.3/site-packages. This package isn't alone, and I
discovered this problem while trying to install bittorrent from
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. rpm -qf yum | grep site-packages
2. rpm -qf python | grep site-packages
Actual Results: yum uses /usr/lib and python uses /usr/lib64
Expected Results: yum and python use /usr/lib64
yum is noarch, hence its python files go in /usr/lib. Multilib arches
like x86_64 search both /usr/lib64 and /usr/lib for python files.
Otherwise, it would be impossible to have a noarch python package.
I forgot to take noarch into account. In my head I was comparing yum
to python and one is noarch and the other is i386.