[Yum] KeyError

Troels Arvin troels at arvin.dk
Wed May 7 22:15:04 UTC 2003


Hello,

I'm using yum for the first time; looks like an interesting tool.

When I run "yum upgrade" or "yum update", I get this:

======================================================
Gathering package information from servers
Getting headers from: Red Hat Linux 9 freshrpms
Getting headers from: Red Hat Linux 9 os
Getting headers from: Red Hat Linux 9 updates
Finding updated packages
Downloading needed headers
Resolving dependencies
Traceback (most recent call last):
  File "/usr/bin/yum", line 45, in ?
    yummain.main(sys.argv[1:])
  File "yummain.py", line 249, in main
  File "nevral.py", line 297, in resolvedeps
  File "nevral.py", line 234, in populateTs
  File "nevral.py", line 71, in getHeader
  File "nevral.py", line 160, in localHdrPath
KeyError
======================================================

My yum.conf:

======================================================
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
 
[os]
name=Red Hat Linux 9 os
baseurl=http://ayo.freshrpms.net/redhat/9/i386/os
gpgcheck=1
 
[updates]
name=Red Hat Linux 9 updates
baseurl=http://ayo.freshrpms.net/redhat/9/i386/updates
gpgcheck=1
 
[freshrpms]
name=Red Hat Linux 9 freshrpms
baseurl=http://ayo.freshrpms.net/redhat/9/i386/freshrpms
gpgcheck=1
======================================================

What could be wrong?

-- 
Troels Arvin <troels at arvin.dk>



More information about the Yum mailing list