Help. Yum StopIteration error

Javier Perez pepebuho at gmail.com
Sun Nov 26 18:47:59 UTC 2006


Hi
I have a problem and google is not helping out.
Yum now is not working, it stops with a StopIteration error.

I have tried to rebuild the db, and also  reinstall with --force but it does
not help.
Rebuilddb does nothing and reinstalling yum with rpm --force ask for a lot
of dependencies that are already satisfied
(python, for example).

funny thing, now rpm -qa shows nothing.

and  yum clean all gives me:

[root at bloody yum.repos.d]# yum clean all
"installonlyn" plugin is disabled
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in ?
    yummain.main(sys.argv[1:])
  File "/usr/share/yum-cli/yummain.py", line 85, in main
    base.getOptionsConfig(args)
  File "/usr/share/yum-cli/cli.py", line 199, in getOptionsConfig
    errorlevel=opts.errorlevel)
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 125, in
doConfigSetup
    self.conf = config.readMainConfig(startupconf)
  File "/usr/lib/python2.4/site-packages/yum/config.py", line 597, in
readMainConfig
    vars['releasever'] = _getsysver(startupconf.installroot,
startupconf.distroverpkg)
  File "/usr/lib/python2.4/site-packages/yum/config.py", line 662, in
_getsysver
    hdr = idx.next()
StopIteration

I disabled the    installonly plugin just in case.

Could someone help me out to recover from this? I would rather not have to
reinstall FC6 all over again.

thanks

-- 
------------------------------
/\_/\
|O O|  pepebuho at pananet.com
~~~~ Javier Perez
~~~~   While the night runs
~~~~   toward the day...
  m m   Pepebuho watches
    from his high perch.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20061126/6ca886bb/attachment-0002.html 


More information about the users mailing list