[Yum] yum bug
Stuart Midgley
stuart.midgley at anu.edu.au
Mon Dec 6 21:59:37 UTC 2004
Morning
I have a yum bug. I built a cluster based on Fedora Core 2 and thought
I might try to use yum to manage my cluster image. I have a 4GB file
system image which I install across all my cluster nodes. This image
is mounted on the server via a loop back device. I am trying to use
yum from the server to manage the cluster image. It crashes... oh, to
complicate things further, my server is x86 and the nodes are x86_64.
[root at node0 ~]$ mount -o loop /opt/ftp/node.img /mnt/node
[root at node0 ~]$ yum --installroot=/mnt/node check-update
Unable to find pid
Gathering header information file(s) from server(s)
Server: Fedora Core 2 - i386 - Base
Server: Fedora Core 2 - i386 - Released Updates
Finding updated packages
Traceback (most recent call last):
File "/usr/bin/yum", line 30, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum/yummain.py", line 249, in main
(uplist, newlist, nulist) =
clientStuff.getupdatedhdrlist(HeaderInfo, rpmDBInfo)
File "/usr/share/yum/clientStuff.py", line 447, in getupdatedhdrlist
rpmarchs = bestversion(rpmnevral, name)
File "/usr/share/yum/clientStuff.py", line 495, in bestversion
currentarch = archs[0]
IndexError: list index out of range
[root at node0 ~]$
Hope this helps
Stu.
--
<--------------------------------------------------------------------->
Dr Stuart Midgley | stuart.midgley at anu.edu.au
Supercomputer Facility | smidgley at netspace.net.au
Leonard Huxley Building 56 | +61 (0)2 6125 5988 Work
Australian National University | +61 (0)2 6125 8199 Fax
CANBERRA ACT 0200 | +61 (0)4 1125 2488 Mob
More information about the Yum
mailing list