[Yum] yum error : "ImportError: No module named rpm" on Enterprise Linux WS3
bioinfo Gu
bioinfowistar at yahoo.com
Mon Jun 20 19:35:36 UTC 2005
Hello,
I install yum-2.2.0-1.noarch.rpm on Enterprise Linux
WS3,
When I use yum command, the error is:
[root at cirith-ungol opt]# yum
Traceback (most recent call last):
File "/usr/bin/yum", line 6, in ?
import yummain
File "/usr/share/yum-cli/yummain.py", line 23, in ?
import yum
File "__init__.py", line 21, in ?
ImportError: No module named rpm
[root at cirith-ungol opt]#
My environment is:
[root at cirith-uol opt]# rpm -qa | grep rpm
rpm-4.2.2-0.14
rpm-build-4.2.2-0.14
rpmdb-redhat-3-0.20040505
redhat-rpm-config-8.0.28-2
rpm-python-4.2.2-0.14
redhat-java-rpm-scripts-1.0.2-2
rpm-devel-4.2.2-0.14
#[root at cirith-uol opt]# rpm -qa | grep yum
yum-2.2.0-1
I want to try to upgrade rpm-python-4.2.2-0.14 to
rpm-python-4.3.2-21.x86_64.rpm
[root at cirith-ungol opt]# rpm -Uvh
rpm-python-4.3.2-21.x86_64.rpm
warning: rpm-python-4.3.2-21.x86_64.rpm: V3 DSA
signature: NOKEY, key ID 4f2a6fd2
error: Failed dependencies:
librpm-4.3.so()(64bit) is needed by
rpm-python-4.3.2-21
librpmdb-4.3.so()(64bit) is needed by
rpm-python-4.3.2-21
librpmio-4.3.so()(64bit) is needed by
rpm-python-4.3.2-21
python >= 2.3 is needed by rpm-python-4.3.2-21
rpm = 4.3.2-21 is needed by
rpm-python-4.3.2-21
[root at cirith-ungol opt]#
Do I have to upgrade so many package to install yum or
there is another yum version suit all existing
package? thanks a lot,
Grace
____________________________________________________
Yahoo! Sports
Rekindle the Rivalries. Sign up for Fantasy Football
http://football.fantasysports.yahoo.com
More information about the Yum
mailing list