Description of problem: after upgrading from fedora core 5 to fedora core 6, yum check-update fails. Version-Release number of selected component (if applicable): yum-3.0.6 How reproducible: run yum check-update Steps to Reproduce: 1.run yum-check-update 2. 3. Actual results: yum exits with error described below. Expected results: yum lists the available updates Additional info: the output is: # yum check-update Loading "installonlyn" plugin Plugin "fastestmirror" uses deprecated constant TYPE_INTERFACE. Please use TYPE_INTERACTIVE instead. Loading "fastestmirror" plugin Setting up repositories Loading mirror speeds from cached hostfile 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 102, in main result, resultmsgs = do() File "/usr/share/yum-cli/cli.py", line 359, in doCommands return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds) File "/usr/share/yum-cli/yumcommands.py", line 317, in doCommand ypl = base.returnPkgLists(extcmds) File "/usr/share/yum-cli/cli.py", line 851, in returnPkgLists ypl = self.doPackageLists(pkgnarrow=pkgnarrow) File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 988, in doPackageLists self.doRepoSetup() File "/usr/share/yum-cli/cli.py", line 102, in doRepoSetup yum.YumBase.doRepoSetup(self, thisrepo=thisrepo) File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 306, in doRepoSetup self.plugins.run('postreposetup') File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 153, in run func(conduitcls(self, self.base, conf, **kwargs)) File "/usr/lib/yum-plugins/fastestmirror.py", line 77, in postreposetup_hook repo.set('urls', repomirrors[str(repo)]) AttributeError: 'YumRepository' object has no attribute 'set' the fix was: rpm --erase yum-fastestmirror
You also need to upgrade plugins