I got the new key and then did a "yum update yum\*" which updated several of my yum plugins including yum-skip-broken. When I next ran yum I got the following error:
[root@hobbes richard]# yum update
Loaded plugins: changelog, downloadonly, fastestmirror, kernel-module, presto,
: skip-broken
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 160, in __init__
self.run('config')
File "/usr/lib/python2.5/site-packages/yum/plugins.py", line 176, in run
func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/lib/yum-plugins/skip-broken.py", line 110, in config_hook
help="skip packages with broken dependencies")
File "/usr/lib64/python2.5/optparse.py", line 1014, in add_option
self._check_conflict(option)
File "/usr/lib64/python2.5/optparse.py", line 989, in _check_conflict
option)
optparse.OptionConflictError: option --skip-broken: conflicting option string(s): --skip-broken
---
Since yum was essentially broken at this point (I didn't think about disabling the plugin) I did a "rpm -e yum-skip-broken" and now yum is happily updating my system. Any python experts understand what happened?
Thanks,
Richard
[root@hobbes richard]# yum update
Loaded plugins: changelog, downloadonly, fastestmirror, kernel-module, presto,
: skip-broken
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 160, in __init__
self.run('config')
File "/usr/lib/python2.5/site-packages/yum/plugins.py", line 176, in run
func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/lib/yum-plugins/skip-broken.py", line 110, in config_hook
help="skip packages with broken dependencies")
File "/usr/lib64/python2.5/optparse.py", line 1014, in add_option
self._check_conflict(option)
File "/usr/lib64/python2.5/optparse.py", line 989, in _check_conflict
option)
optparse.OptionConflictError: option --skip-broken: conflicting option string(s): --skip-broken
---
Since yum was essentially broken at this point (I didn't think about disabling the plugin) I did a "rpm -e yum-skip-broken" and now yum is happily updating my system. Any python experts understand what happened?
Thanks,
Richard
-- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines