Mysterious Problem - rpm database gone?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

since today yum is broken on my fc2. Here is the output from the "yum
update" command:

Traceback (most recent call last):
  File "/usr/bin/yum", line 30, in ?
    yummain.main(sys.argv[1:])
  File "/usr/share/yum/yummain.py", line 163, in main
    (log, errorlog, filelog, conf, cmds) = parseCmdArgs(args)
  File "/usr/share/yum/yummain.py", line 75, in parseCmdArgs
    conf=yumconf(configfile=yumconffile)
  File "/usr/share/yum/config.py", line 155, in __init__
    self.yumvar['releasever'] = self._getsysver()
  File "/usr/share/yum/config.py", line 291, in _getsysver
    hdr = idx.next()
StopIteration

Typing "rpm -qa | grep kde" gives me no output, also the commands "rpm
--initdb" and "rpm --rebuilddb" have no effect.
How can I get back my rpm database?

What I have done so far with no effect at all:
- yum clean
- create new /etc/yum.conf
- overwrite the files under /usr/share/yum with files from an other,
correct running system
- overwrite the files under /usr/lib/python* with files from an other,
correct running system

What has here happend?


thanks
Olaf



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux