[Yum] intersting artifact RHL 7.3, later JBJ rpm-4.1.1-0.1.7x, yum 1.97-1

R P Herrold herrold at owlriver.com
Fri Apr 25 02:58:02 UTC 2003


On 24 Apr 2003, seth vidal wrote:

> run python -V on that system.
> 
> I bet the pyc files are compiled for the wrong version of python.

got somewhat further /// 


[root at router root]# rpm -e yum
[root at router root]# rpm -Uvh 
/usr/src/redhat/RPMS/noarch/yum-1.97-1.noarch.rpm
Preparing...                ########################################### [100%]
   1:yum                    ########################################### [100%]
[root at router root]# yum -y update
Traceback (innermost last):
  File "/usr/bin/yum", line 22, in ?
    import yummain
  File "yummain.py", line 21, in ?
  File "clientStuff.py", line 18, in ?
ImportError: No module named rpm
[root at router root]# rpm -qi yum
Name        : yum                          Relocations: (not relocateable)
Version     : 1.97                              Vendor: (none)
Release     : 1                             Build Date: Thu 24 Apr 2003 10:55:28 PM EDT
Install date: Thu 24 Apr 2003 10:55:47 PM EDT      Build Host: router.basement.lan
Group       : System Environment/Base       Source RPM: yum-1.97-1.src.rpm
Size        : 236744                           License: GPL
Signature   : (none)
URL         : http://www.dulug.duke.edu/yum/
Summary     : RPM installer/updater
Description :
Yum is a utility that can check for and automatically download and
install updated RPM packages. Dependencies are obtained and downloaded
automatically prompting the user as necessary.





More information about the Yum mailing list