<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
I have the same problem with yum on Mandrake 10.0.&nbsp;&nbsp; Is there<br>
a fix?<br>
<br>
Thanks.<br>
<br>
<blockquote type="cite">
  <pre>On Sun, Apr 18, 2004 at 11:51:33PM -0400, seth vidal wrote:
&gt;<i> On Thu, 2004-04-15 at 10:35 -0600, Charles Curley wrote:
</i>&gt;<i> 
</i>&gt;<i> &gt; I'd like to install yum on Mandrake 10.0. Given that Mandrake 10.0 has
</i>&gt;<i> &gt; rpm-4.2.2-7mdk, I figured yum-2.0.6-1 was in order. I get:
</i>&gt;<i> &gt; 
</i>&gt;<i> &gt; [<a
 href="https://lists.dulug.duke.edu/mailman/listinfo/yum">root at taltos</a> root]# yum -C list
</i>&gt;<i> &gt; Gathering header information file(s) from server(s)
</i>&gt;<i> &gt; Server: Mandrake 10.0 - i386 - Base
</i>&gt;<i> &gt; Traceback (most recent call last):
</i>&gt;<i> &gt;   File "/usr/bin/yum", line 30, in ?
</i>&gt;<i> &gt;     yummain.main(sys.argv[1:])
</i>&gt;<i> &gt;   File "/usr/share/yum/yummain.py", line 237, in main
</i>&gt;<i> &gt;     clientStuff.rpmdbNevralLoad(rpmDBInfo)
</i>&gt;<i> &gt;   File "/usr/share/yum/clientStuff.py", line 164, in rpmdbNevralLoad
</i>&gt;<i> &gt;     if not rpmdbdict.has_key((name, arch)):
</i>&gt;<i> &gt; TypeError: list objects are unhashable
</i>&gt;<i> 
</i>&gt;<i> is the mdk python patched in some odd way?
</i>&gt;<i> 
</i>&gt;<i> it's saying rpmdbdict is a list - which is, umm, very unlikely.
</i>
  </pre>
</blockquote>
<br>
<blockquote type="cite">
  <pre>&gt;<i> Seth, is it possible that name or arch is a list here?  That would do
</i>&gt;<i> it.
</i>&gt;<i> 
</i>
damn it - I think I know what this is - it's a new rpm-broken-ism.

all items are being returned as lists, even if they will only ever be
one-item lists.

the reason I've not seen it yet is b/c it's been corrected in rpm in
fedora core.

it's not hard to correct, but really irritating.

-sv</pre>
</blockquote>
<br>
</body>
</html>