createrepo 无法使用解决

createrepo -g repodata/repomd.xml /home/OS
Traceback (most recent call last):
  File "/usr/share/createrepo/genpkgmetadata.py", line 28, in
    import createrepo
  File "/usr/lib/python2.6/site-packages/createrepo/__init__.py", line 19, in
    import libxml2
  File "/usr/lib/python2.6/site-packages/libxml2.py", line 1, in
    import libxml2mod
ImportError: /usr/lib/python2.6/site-packages/libxml2mod.so: wrong ELF class: ELFCLASS32

 

yum install python*



本文转自it你好 51CTO博客,原文链接:http://blog.51cto.com/itnihao/835773,如需转载请自行联系原作者

你可能感兴趣的:(createrepo 无法使用解决)