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

seth vidal skvidal at phy.duke.edu
Fri Apr 25 02:59:49 UTC 2003


On Thu, 2003-04-24 at 22:58, R P Herrold wrote:
> 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



rpm -q rpm-python

-sv





More information about the Yum mailing list