[Yum] yum bug
seth vidal
skvidal at phy.duke.edu
Sun Dec 19 07:36:49 UTC 2004
On Tue, 2004-12-07 at 08:59 +1100, Stuart Midgley wrote:
> 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 ~]$
What type of system is this? what does /etc/rpm/platform say?
-sv
More information about the Yum
mailing list