Re: Yum FC6 error

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


Tony Nelson wrote:
At 11:12 AM +1000 11/11/06, david walcroft wrote:
I upgraded from FC5 > FC6 with very few problems,I have two which I
don't know how to fix:-

[[email protected] ~]$ sudo yum -y update
Loading "installonlyn" plugin
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in ?
  File "/usr/share/yum-cli/", line 85, in main
  File "/usr/share/yum-cli/", line 199, in getOptionsConfig
  File "/usr/lib/python2.4/site-packages/yum/", line 123, in
  File "/usr/lib/python2.4/site-packages/yum/", line 252, in
    plugin_types, confpath)
  File "/usr/lib/python2.4/site-packages/yum/", line 129, in
  File "/usr/lib/python2.4/site-packages/yum/", line 170, in
    self._loadplugin(modulefile, types)
  File "/usr/lib/python2.4/site-packages/yum/", line 186, in
    module = imp.load_module(modname, fp, pathname, description)
  File "/usr/lib/yum-plugins/", line 140, in ?
    from repomd import repoMDObject, mdErrors
ImportError: No module named repomd
That's my stablemirror plugin, not updated for FC6, probably not really
needed either, what with the changes to the mirrorlist.  Edit its
/etc/yum/pluginconf.d/stablemirror.conf file to disable it.

And Yumex will not start,how do I debug as to why it's not.
Might the the same issue.
Ran vim on the above,Yum ran part of the way then came up with this:-

Running "postreposetup" handler for "fastestmirror" plugin
Loading mirror speeds from cached hostfile
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in ?
  File "/usr/share/yum-cli/", line 102, in main
    result, resultmsgs = do()
  File "/usr/share/yum-cli/", line 359, in doCommands
return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
  File "/usr/share/yum-cli/", line 150, in doCommand
    return base.updatePkgs(extcmds)
  File "/usr/share/yum-cli/", line 628, in updatePkgs
  File "/usr/share/yum-cli/", line 102, in doRepoSetup
    yum.YumBase.doRepoSetup(self, thisrepo=thisrepo)
File "/usr/lib/python2.4/site-packages/yum/", line 306, in doRepoSetup'postreposetup')
  File "/usr/lib/python2.4/site-packages/yum/", line 153, in run
    func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/lib/yum-plugins/", line 77, in postreposetup_hook
    repo.set('urls', repomirrors[str(repo)])
AttributeError: 'YumRepository' object has no attribute 'set'

   Thanks   david

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

  Powered by Linux