[Yum] yum 1.0.2 yum-arch error

Jim Wildman jim at rossberry.com
Mon Sep 8 19:59:35 UTC 2003


I've confirmed it by
a) installing  your prebuilt rpm
b) rebuilding on another box which has never been used for building

I get the same result in both cases, for ANY yum command.  It happens so
early in the process that yum -d doesn't return any output.o

Here is the end of an strace yum -d 9 list

open("/usr/lib/python1.5/plat-linux-i386/yummain.py", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/lib/python1.5/lib-tk/yummain.py", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/usr/lib/python1.5/lib-dynload/yummain.py", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/lib/python1.5/site-packages/yummain.py", O_RDONLY) = -1
ENOENT (No such file or directory)
write(2, "  File \"yummain.py\", line 21, in"..., 35  File "yummain.py",
line 21, in ?
) = 35
open("clientStuff.py", O_RDONLY)        = -1 ENOENT (No such file or
directory)
open("/usr/bin/clientStuff.py", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/share/yum/clientStuff.py", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/lib/python1.5/clientStuff.py", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/lib/python1.5/plat-linux-i386/clientStuff.py", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/lib/python1.5/lib-tk/clientStuff.py", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/lib/python1.5/lib-dynload/clientStuff.py", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/lib/python1.5/site-packages/clientStuff.py", O_RDONLY) = -1
ENOENT (No such file or directory)
write(2, "  File \"clientStuff.py\", line 39"..., 39  File
"clientStuff.py", line 39, in ?
) = 39
write(2, "AttributeError", 14AttributeError)          = 14
write(2, ": ", 2: )                       = 2
write(2, "set_user_agent", 14set_user_agent)          = 14
write(2, "\n", 1
)                       = 1
close(3)                                = 0
munmap(0x40018000, 4096)                = 0
rt_sigaction(SIGINT, {SIG_DFL}, {0x40033b20, [INT],
SA_RESTART|0x4000000}, 8) = 0
_exit(1)                                = ?


A quick check in /usr/lib/python1.5/site-packages/ shows that
clientStuff and keepAlive are not there.  So looks like we have a
missing requirement or missing package for Mike's stuff?


On 8 Sep 2003, seth vidal wrote:

> On Mon, 2003-09-08 at 10:28, Jim Wildman wrote:
> > Hmm, built this on the server in question from the src.rpm
> > 
> 
> > [root at iol2il01 rhas2.1]# yum-arch `pwd`
> > Traceback (innermost last):
> >   File "/usr/bin/yum-arch", line 22, in ?
> >     import pullheaders
> >   File "pullheaders.py", line 28, in ?
> >   File "clientStuff.py", line 39, in ?
> > AttributeError: set_user_agent
> > 
> 
> i can't replicate this at all.
> 
> Can you verify the build?
> 
> -sv
> 
> 
> _______________________________________________
> Yum mailing list
> Yum at lists.dulug.duke.edu
> https://lists.dulug.duke.edu/mailman/listinfo/yum
> 

------------------------------------------------------------------------
Jim Wildman, CISSP, RHCE                                jim at rossberry.com
http://www.rossberry.com




More information about the Yum mailing list