[CentOS-es] YUM roto. No se puede instalar/actualizar nada

José María Terry Jiménez jtj en tssystems.net
Sab Ago 13 18:40:23 EDT 2011


Has probado deshabilitar fastestmirror?

yum --disableplugin=fastestmirror search php-mysql

o

yum --noplugins search php-mysql

Saludos

Gerardo Barajas escribió:
> Estimados de la lista.
> Sucede que recien obtuve un servidor virtual con las siguientes
> características.
>
> Linux neo-center 2.6.22.18-grsec2.1.11-vs2.2.0.6 #2 SMP Tue Feb 12 04:18:41
> CST 2008 i686 i686 i386 GNU/Linux
>
>
> Ahora bien, intenté buscar/instalar algo vía yum, y esto es lo que obtengo:
>
> [root en neo-center ~]# yum search php-mysql
> Loaded plugins: fastestmirror
> Loading mirror speeds from cached hostfile
> 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 309, in user_main
>     errcode = main(args)
>   File "/usr/share/yum-cli/yummain.py", line 178, in main
>     result, resultmsgs = base.doCommands()
>   File "/usr/share/yum-cli/cli.py", line 349, in doCommands
>     return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd,
> self.extcmds)
>   File "/usr/share/yum-cli/yumcommands.py", line 627, in doCommand
>     return base.search(extcmds)
>   File "/usr/share/yum-cli/cli.py", line 806, in search
>     for (po, keys, matched_value) in matching:
>   File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 1834, in
> searchGenerator
>     for sack in self.pkgSack.sacks.values():
>   File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 662, in
> <lambda>
>     pkgSack = property(fget=lambda self: self._getSacks(),
>   File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 502, in
> _getSacks
>     self.repos.populateSack(which=repos)
>   File "/usr/lib/python2.4/site-packages/yum/repos.py", line 232, in
> populateSack
>     self.doSetup()
>   File "/usr/lib/python2.4/site-packages/yum/repos.py", line 79, in doSetup
>     self.ayum.plugins.run('postreposetup')
>   File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 179, in run
>     func(conduitcls(self, self.base, conf, **kwargs))
>   File "/usr/lib/yum-plugins/fastestmirror.py", line 181, in
> postreposetup_hook
>     all_urls = FastestMirror(all_urls).get_mirrorlist()
>   File "/usr/lib/yum-plugins/fastestmirror.py", line 333, in get_mirrorlist
>     self._poll_mirrors()
>   File "/usr/lib/yum-plugins/fastestmirror.py", line 376, in _poll_mirrors
>     pollThread.start()
>   File "/usr/lib/python2.4/threading.py", line 416, in start
>     _start_new_thread(self.__bootstrap, ())
> thread.error: can't start new thread
>
>
> ¿Alguna idea?
> Lei por ahi que ejecutando "yum clean all", podría mejorar el asunto, pero
> no.
>
> Saludos/Regards
> --
> Ing. Gerardo Barajas Puente
>
> Proyectos Especiales | www.neocenter.com
> T:+52 (55)  8590-9000 x 7003
> _______________________________________________
> CentOS-es mailing list
> CentOS-es en centos.org
> http://lists.centos.org/mailman/listinfo/centos-es
>   



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Scanned with Copfilter Version 0.84beta3a (ProxSMTP 1.6)
AntiVirus: ClamAV 0.95.2/13435 - Sat Aug 13 04:50:30 2011
by Markus Madlener @ http://www.copfilter.org


Más información sobre la lista de distribución CentOS-es