Realmente era o plungin skip do yum que estava dando pau. Ao desabilita-lo voltou a funcionar corretamente.
obrigado a todos pelo help, em especial ao Leandro pela solucao do problema.
maxsuel
On Mon, Apr 13, 2009 at 9:19 PM, Leonardo Scandura Neto < lscandura@bsd.com.br> wrote:
Maxsuel,
a mensagem de erro diz:
optparse.OptionConflictError: option --skip-broken: conflicting option string(s): --skip-broken
Você tem uma série de plugins habilitados:
Loaded plugins: allowdowngrade, changelog, downloadonly, fastestmirror, kernel-module, priorities, protect-packages, protectbase, security, skip- : broken, tsflags, versionlock
Provavelmente você tem dois plugins que estão utilizando o mesmo recurso (--skip-broken), apresentando conflito. Desabilite seus plugins e verifique quais são.
[]s
2009/4/3 Maxsuel Marcos Rocha Pereira maxsuelmrp@gmail.com:
Alguem sabe com resolver este problema no yum (nao funciona para nada)
[root@localhost maxsuel]# yum update Loaded plugins: allowdowngrade, changelog, downloadonly, fastestmirror, kernel-module, priorities, protect-packages, protectbase, security, skip- : broken, tsflags, versionlock Traceback (most recent call last): File "/usr/bin/yum", line 29, in ? 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.4/site-packages/yum/__init__.py", line 189, in _getConfig startupconf.pluginconfpath,disabled_plugins,enabled_plugins) File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 355, in doPluginSetup plugin_types, confpath, disabled_plugins, enabled_plugins) File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 160, in __init__ self.run('config') File "/usr/lib/python2.4/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.4/optparse.py", line 936, in add_option self._check_conflict(option) File "/usr/lib64/python2.4/optparse.py", line 911, in _check_conflict option) optparse.OptionConflictError: option --skip-broken: conflicting option string(s): --skip-broken
Sds,
maxsuel
CentOS-pt-br mailing list CentOS-pt-br@centos.org http://lists.centos.org/mailman/listinfo/centos-pt-br
CentOS-pt-br mailing list CentOS-pt-br@centos.org http://lists.centos.org/mailman/listinfo/centos-pt-br
--