Unable to build yum. I think its a python issue

Paul Howarth paul at city-fan.org
Wed Jul 19 17:00:41 UTC 2006


Poohba wrote:
> [08:35:09 root at downloads]rpmbuild --rebuild yum-2.6.1-1.src.rpm
> ...
> RPM build errors:
>     InstallSourcePackage: Header V3 DSA signature: NOKEY, key ID
> 69886cc7
>     user skvidal does not exist - using root
>     group skvidal does not exist - using root
>     user skvidal does not exist - using root
>     group skvidal does not exist - using root
>     File not found by
> glob: /var/tmp/yum-2.6.1root/usr/lib/python?.?/site-packages/yum
>     File not found by
> glob: /var/tmp/yum-2.6.1root/usr/lib/python?.?/site-packages/repomd
>     File not found by
> glob: /var/tmp/yum-2.6.1root/usr/lib/python?.?/site-packages/rpmUtils
> 
> [08:36:25 root at downloads]ls /var/tmp/yum-2.6.1root/usr/lib/
> ls: /var/tmp/yum-2.6.1root/usr/lib/: No such file or directory
> 
> [08:36:28 root at downloads]ls /var/tmp/yum-2.6.1root/usr/
> bin  local  share  src
> 
> [08:37:16
> root at downloads]ls /var/tmp/yum-2.6.1root/usr/local/lib/python2.0/site-packages/
> repomd  rpmUtils  yum
> 
> [08:37:18
> root at downloads]ls /var/tmp/yum-2.6.1root/usr/local/lib/python2.0/site-packages/rpmUtils/
> arch.py      __init__.pyc   miscutils.pyo  transaction.py   updates.pyc
> arch.pyc     __init__.pyo   oldUtils.py    transaction.pyc  updates.pyo
> arch.pyo     miscutils.py   oldUtils.pyc   transaction.pyo
> __init__.py  miscutils.pyc  oldUtils.pyo   updates.py

You need to sort out your python problems first. There are references 
here to python 2.0, which is *way* too old for FC5.

Which version(s) of python does rpm think you have?

$ rpm -q python

Where are you running python from?

$ which python

What version of python is it?

$ python -V

Paul.




More information about the users mailing list