New problem with yum after update!
Hi,
I have a Fedora 9 machine, following is the output of my uname -a Linux homebaner.net 2.6.26.3-29.fc9.i686 #1 SMP Wed Sep 3 03:42:27 EDT 2008 i686 i686 i386 GNU/Linux I upgraded my system with standard yum update yesterday. Today when i tried to do a yum update again, i got the following error. [root@ ~]# yum update Traceback (most recent call last): File "/usr/bin/yum", line 29, in <module> yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 229, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 84, in main base.getOptionsConfig(args) File "/usr/share/yum-cli/cli.py", line 184, in getOptionsConfig enabled_plugins=self.optparser._splitArg(opts.enableplugins)) File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 189, in _getConfig startupconf.pluginconfpath,disabled_plugins,enabled_plugins) File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 355, in doPluginSetup plugin_types, confpath, disabled_plugins, enabled_plugins) File "/usr/lib/python2.5/site-packages/yum/plugins.py", line 152, in __init__ self._importplugins(types) File "/usr/lib/python2.5/site-packages/yum/plugins.py", line 195, in _importplugins self._loadplugin(modulefile, types) File "/usr/lib/python2.5/site-packages/yum/plugins.py", line 251, in _loadplugin module = imp.load_module(modname, fp, pathname, description) File "/usr/lib/yum-plugins/filter-data.py", line 111 ('committers', 'committer')] ^ SyntaxError: invalid syntax I dont know if this problem has been seen before, but all the help is appreciated. regards --Sam |
Hi,
I found the solution to this problem. In the /usr/lib/yum-plugins/filter-data.py (the paths may differ), there was a missing colon on line 111. After editing the file, the problem was solved. thanks --sameet |
All times are GMT -5. The time now is 09:01 AM. |