[Yum] f9 yum option --skip-broken: conflicting option string !
Tim Lauridsen
tim.lauridsen at googlemail.com
Mon May 19 07:10:41 UTC 2008
David Timms wrote:
> seth vidal wrote:
>> On Fri, 2008-05-16 at 23:42 +1000, David Timms wrote:
>>> Hi, what do you make of this:
>>>
>>> # yum -d 10 list
>>> Loading "refresh-packagekit" plugin
>>> Loading "skip-broken" plugin
>>> Loaded plugins: refresh-packagekit, skip-broken
>>> Running "config" handler for "skip-broken" plugin
>>> 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 241, in user_main
>>> errcode = main(args)
>>> File "/usr/share/yum-cli/yummain.py", line 96, in main
>>> base.getOptionsConfig(args)
>>> File "/usr/share/yum-cli/cli.py", line 182, in getOptionsConfig
>>> disabled_plugins=self.optparser._splitArg(opts.disableplugins))
>>> File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 178,
>>> in _getConfig
>>> startupconf.pluginconfpath,disabled_plugins)
>>> File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 340,
>>> in doPluginSetup
>>> plugin_types, confpath, disabled_plugins)
>>> File "/usr/lib/python2.5/site-packages/yum/plugins.py", line 159,
>>> in __init__
>>> self.run('config')
>>> File "/usr/lib/python2.5/site-packages/yum/plugins.py", line 175,
>>> 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/lib/python2.5/optparse.py", line 1014, in add_option
>>> self._check_conflict(option)
>>> File "/usr/lib/python2.5/optparse.py", line 989, in _check_conflict
>>> option)
>>> optparse.OptionConflictError: option --skip-broken: conflicting
>>> option string(s): --skip-broken
>>>
>>> In any case that is the result, no matter what normal parameters I
>>> supply, or even if I leave blank that would normally show the --help
>>> gives the same error.
>>>
>>> Can't have blown my fresh f9 install {original /home directory}
>>> already could I ?
>>>
>>> Happy to create a bug if it's not my fumbling ?
>>
>> rpm -e yum-skip-broken
> Aye, right you are.
> I installed my apps metapackage {orginally for f7,8} that requires
> y-s-b. Interesting that PackageKit could still do updates while yum was
> incapacitated.
the problem with '--skip-broken' only hits yum-cli, not yum api
applications like the PackageKit yum-backend.
Tim
More information about the Yum
mailing list