On Wed, Jun 14, 2006 at 08:43:37PM +0200, Marian Kopala wrote:
- yum update
Loading "protectbase" plugin Loading "installonlyn" plugin Loading "fedorakmod" plugin Loading "kernel-module" plugin Plugin "changelog" uses deprecated constant TYPE_INTERFACE. Please use TYPE_INTERACTIVE instead. Loading "changelog" plugin Plugin "downloadonly" uses deprecated constant TYPE_INTERFACE. Please use TYPE_INTERACTIVE instead. Loading "downloadonly" plugin Plugin "fastestmirror" uses deprecated constant TYPE_INTERFACE. Please use TYPE_INTERACTIVE instead. Loading "fastestmirror" plugin Plugin "tsflags" uses deprecated constant TYPE_INTERFACE. Please use TYPE_INTERACTIVE instead. Loading "tsflags" plugin /usr/lib/python2.4/site-packages/yum/plugins.py:374: DeprecationWarning: registerOpt() will go away in a future version of Yum. Please manipulate config.YumConf and config.RepoConf directly. DeprecationWarning) Setting up Update Process 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 97, in main result, resultmsgs = do() File "/usr/share/yum-cli/cli.py", line 490, in doCommands return self.updatePkgs() File "/usr/share/yum-cli/cli.py", line 902, in updatePkgs self.doRepoSetup() File "/usr/share/yum-cli/cli.py", line 78, in doRepoSetup yum.YumBase.doRepoSetup(self, thisrepo=thisrepo) File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 251, in doRepoSetup self.plugins.run('postreposetup') File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 151, 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 instance has no attribute 'set'
rpm -q yum
yum-2.9.0-4
You're going to have to disable the fastestmirror plugin, or run yum with --noplugins, until it gets updated to use the new yum api.
luke