yum-2.4.3-10.SL
[root@srmchennai ~]# rpm -ql yum
/etc/yum
/etc/yum/pluginconf.d
/etc/yum/pluginconf.d/kernel-module.conf
/usr/bin/yum
/usr/bin/yum-arch
/usr/lib/python2.3/site-packages/repomd
/usr/lib/python2.3/site-packages/repomd/__init__.py
/usr/lib/python2.3/site-packages/repomd/__init__.pyc
/usr/lib/python2.3/site-packages/repomd/mdErrors.py
/usr/lib/python2.3/site-packages/repomd/mdErrors.pyc
/usr/lib/python2.3/site-packages/repomd/mdUtils.py
/usr/lib/python2.3/site-packages/repomd/mdUtils.pyc
/usr/lib/python2.3/site-packages/repomd/packageObject.py
/usr/lib/python2.3/site-packages/repomd/packageObject.pyc
/usr/lib/python2.3/site-packages/repomd/packageSack.py
/usr/lib/python2.3/site-packages/repomd/packageSack.pyc
/usr/lib/python2.3/site-packages/repomd/repoMDObject.py
/usr/lib/python2.3/site-packages/repomd/repoMDObject.pyc
/usr/lib/python2.3/site-packages/repomd/test.py
/usr/lib/python2.3/site-packages/repomd/test.pyc
/usr/lib/python2.3/site-packages/rpmUtils
/usr/lib/python2.3/site-packages/rpmUtils/__init__.py
/usr/lib/python2.3/site-packages/rpmUtils/__init__.pyc
/usr/lib/python2.3/site-packages/rpmUtils/arch.py
/usr/lib/python2.3/site-packages/rpmUtils/arch.pyc
/usr/lib/python2.3/site-packages/rpmUtils/miscutils.py
/usr/lib/python2.3/site-packages/rpmUtils/miscutils.pyc
/usr/lib/python2.3/site-packages/rpmUtils/oldUtils.py
/usr/lib/python2.3/site-packages/rpmUtils/oldUtils.pyc
/usr/lib/python2.3/site-packages/rpmUtils/transaction.py
/usr/lib/python2.3/site-packages/rpmUtils/transaction.pyc
/usr/lib/python2.3/site-packages/rpmUtils/updates.py
/usr/lib/python2.3/site-packages/rpmUtils/updates.pyc
/usr/lib/python2.3/site-packages/yum
/usr/lib/python2.3/site-packages/yum/Errors.py
/usr/lib/python2.3/site-packages/yum/Errors.pyc
/usr/lib/python2.3/site-packages/yum/__init__.py
/usr/lib/python2.3/site-packages/yum/__init__.pyc
/usr/lib/python2.3/site-packages/yum/archwork.py
/usr/lib/python2.3/site-packages/yum/archwork.pyc
/usr/lib/python2.3/site-packages/yum/comps.py
/usr/lib/python2.3/site-packages/yum/comps.pyc
/usr/lib/python2.3/site-packages/yum/config.py
/usr/lib/python2.3/site-packages/yum/config.pyc
/usr/lib/python2.3/site-packages/yum/constants.py
/usr/lib/python2.3/site-packages/yum/constants.pyc
/usr/lib/python2.3/site-packages/yum/depsolve.py
/usr/lib/python2.3/site-packages/yum/depsolve.pyc
/usr/lib/python2.3/site-packages/yum/failover.py
/usr/lib/python2.3/site-packages/yum/failover.pyc
/usr/lib/python2.3/site-packages/yum/groups.py
/usr/lib/python2.3/site-packages/yum/groups.pyc
/usr/lib/python2.3/site-packages/yum/logger.py
/usr/lib/python2.3/site-packages/yum/logger.pyc
/usr/lib/python2.3/site-packages/yum/mdcache.py
/usr/lib/python2.3/site-packages/yum/mdcache.pyc
/usr/lib/python2.3/site-packages/yum/mdparser.py
/usr/lib/python2.3/site-packages/yum/mdparser.pyc
/usr/lib/python2.3/site-packages/yum/misc.py
/usr/lib/python2.3/site-packages/yum/misc.pyc
/usr/lib/python2.3/site-packages/yum/packages.py
/usr/lib/python2.3/site-packages/yum/packages.pyc
/usr/lib/python2.3/site-packages/yum/pgpmsg.py
/usr/lib/python2.3/site-packages/yum/pgpmsg.pyc
/usr/lib/python2.3/site-packages/yum/plugins.py
/usr/lib/python2.3/site-packages/yum/plugins.pyc
/usr/lib/python2.3/site-packages/yum/repos.py
/usr/lib/python2.3/site-packages/yum/repos.pyc
/usr/lib/python2.3/site-packages/yum/sqlitecache.py
/usr/lib/python2.3/site-packages/yum/sqlitecache.pyc
/usr/lib/python2.3/site-packages/yum/sqlitesack.py
/usr/lib/python2.3/site-packages/yum/sqlitesack.pyc
/usr/lib/python2.3/site-packages/yum/transactioninfo.py
/usr/lib/python2.3/site-packages/yum/transactioninfo.pyc
/usr/lib/yum-plugins
/usr/lib/yum-plugins/kernel-module.py
/usr/share/doc/yum-2.4.3
/usr/share/doc/yum-2.4.3/AUTHORS
/usr/share/doc/yum-2.4.3/COPYING
/usr/share/doc/yum-2.4.3/ChangeLog
/usr/share/doc/yum-2.4.3/INSTALL
/usr/share/doc/yum-2.4.3/PLUGINS
/usr/share/doc/yum-2.4.3/README
/usr/share/doc/yum-2.4.3/TODO
/usr/share/man/man5/yum.conf.5.gz
/usr/share/man/man8/yum-arch.8.gz
/usr/share/man/man8/yum-shell.8.gz
/usr/share/man/man8/yum.8.gz
/usr/share/yum-cli/callback.py
/usr/share/yum-cli/callback.pyc
/usr/share/yum-cli/cli.py
/usr/share/yum-cli/cli.pyc
/usr/share/yum-cli/i18n.py
/usr/share/yum-cli/i18n.pyc
/usr/share/yum-cli/output.py
/usr/share/yum-cli/output.pyc
/usr/share/yum-cli/progress_meter.py
/usr/share/yum-cli/progress_meter.pyc
/usr/share/yum-cli/pullheaders.py
/usr/share/yum-cli/pullheaders.pyc
/usr/share/yum-cli/serverStuff.py
/usr/share/yum-cli/serverStuff.pyc
/usr/share/yum-cli/shell.py
/usr/share/yum-cli/shell.pyc
/usr/share/yum-cli/translate.py
/usr/share/yum-cli/translate.pyc
/usr/share/yum-cli/yummain.py
/usr/share/yum-cli/yummain.pyc
/var/cache/yum
[root@srmchennai ~]#
Thanks & Regards,
shashidhar
On Tue, Jul 21, 2009 at 8:11 PM, James Antill <james-yum@xxxxxxx> wrote:
shashidhar velagandula <shashidhar.velagandula@xxxxxxxxx> writes:As it says, my guess is that the yum you have installed doesn't match
> HI ,
>
>
> I am getting error while running yum
>
> [root@srmchennai ~]# yum
> There was a problem importing one of the Python modules
> required to run yum. The error leading to this problem was:
>
> /usr/lib/python2.3/site-packages/cElementTree.so: cannot open shared
> object file: No such file or directory
>
> Please install a package which provides this module, or
> verify that the module is installed correctly.
>
> It's possible that the above module doesn't match the
> current version of Python, which is:
> 2.3.4 (#1, Feb 6 2006, 10:38:45)
> [GCC 3.4.5 20051201 (Red Hat 3.4.5-2)]
the python you have installed ... where did you get the yum rpm from?
What does "rpm -q yum" say, what about "rpm -ql yum"
--
James Antill -- james@xxxxxxx
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum
_______________________________________________ Yum mailing list Yum@xxxxxxxxxxxxxxxxx http://lists.baseurl.org/mailman/listinfo/yum