[Yum] yum check-update performance slow

Mike McIntyre mikemci at ca.ibm.com
Tue Aug 18 23:30:30 UTC 2009


The Novell SLES 10 SP2 on Intel server where the yum repository is located 
has createrepo with no -d option with the Novell createrepo-0.4.6-39.5 rpm 
level installed.

I performed a rpmbuild --rebuild on yum-3.2.23-0.src.rpm successfully to 
produce a file yum-3.2.23-0.noarch.rpm.

The rpmbuild --rebuild on yum-metadata-parser-1.1.2-1.src.rpm failed with:
    File not found: 
/var/tmp/yum-metadata-parser-1.1.2-1-root-root/usr/lib64/python2.4/site-packages/_sqlitecache.so
    File not found: 
/var/tmp/yum-metadata-parser-1.1.2-1-root-root/usr/lib64/python2.4/site-packages/sqlitecachec.py
    File not found: 
/var/tmp/yum-metadata-parser-1.1.2-1-root-root/usr/lib64/python2.4/site-packages/sqlitecachec.pyc
    File not found: 
/var/tmp/yum-metadata-parser-1.1.2-1-root-root/usr/lib64/python2.4/site-packages/sqlitecachec.pyo

The above files are located in 
/var/tmp/yum-metadata-parser-1.1.2-1-root-root/usr/local/lib64/python2.4/site-packages
I tried copying files from 
/var/tmp/yum-metadata-parser-1.1.2-1-root-root/usr/local/lib64/python2.4/site-packages 
into 
/var/tmp/yum-metadata-parser-1.1.2-1-root-root/usr/lib64/python2.4/site-packages/.
The 2nd run of rpmbuild --rebuild on yum-metadata-parser-1.1.2-1.src.rpm 
failed failed again with the same error messages.
The rpmbuild -rebuild on yum-metadata-parser-1.1.2-1.src.rpm has an 
earlier command of /bin/rm -rf 
/var/tmp/yum-metadata-parser-1.1.2-1-root-root for this workaround to not 
fix.

rpm -i yum-3.2.23-0.noarch.rpm fails with:
error: Failed dependencies:
        yum-metadata-parser >= 1.1.0 is needed by yum-3.2.23-0.noarch
        python-iniparse is needed by yum-3.2.23-0.noarch
        pygpgme is needed by yum-3.2.23-0.noarch

The rpmbuild --rebuild on yum-metadata-parser-1.1.0-1.src.rpm failed with:
    File not found: 
/var/tmp/yum-metadata-parser-1.1.0-1-root-root/usr/lib64/python2.4/site-packages/_sqlitecache.so
    File not found: 
/var/tmp/yum-metadata-parser-1.1.0-1-root-root/usr/lib64/python2.4/site-packages/sqlitecachec.py
    File not found: 
/var/tmp/yum-metadata-parser-1.1.0-1-root-root/usr/lib64/python2.4/site-packages/sqlitecachec.pyc
    File not found: 
/var/tmp/yum-metadata-parser-1.1.0-1-root-root/usr/lib64/python2.4/site-packages/sqlitecachec.pyo
Above files located in 
/var/tmp/yum-metadata-parser-1.1.0-1-root-root/usr/local/lib64/python2.4/site-packages

Any ideas on how to successfully rpmbuild --rebuild 
yum-metadata-parser-1.1.0-1.src.rpm on SLES 10 SP1 zlinux s390x system?

Also Novell does not provide any rpms for python-iniparse and  pygpgme? 
Any suggestions on where I should get these rpms to be able to install on 
a SLES 10 SP1 zlinux s390x system?

Regards,....Mike McIntyre
Distributed System Management
Infrastructure Services | Server Support Team
Securities Industry Services | Financial Services Sector
IBM Global Technology Services, Canada
Mail: 08/TSN/251/TOR
Tel: 905-413-2518 
Email: mikemci at ca.ibm.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.baseurl.org/pipermail/yum/attachments/20090818/30ba579a/attachment.htm>


More information about the Yum mailing list