Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I was trying to install some packages, and now I'm getting tired of this error message:

[user@domain~]# yum install mod_ssl
Loaded plugins: fastestmirror
Determining fastest mirrors
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/", line 229, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/", line 104, in main
    result, resultmsgs = base.doCommands()
  File "/usr/share/yum-cli/", line 339, in doCommands
  File "/usr/lib/python2.4/site-packages/yum/", line 101, in _getTs
  File "/usr/lib/python2.4/site-packages/yum/", line 112, in _getTsInfo
    pkgSack = self.pkgSack
  File "/usr/lib/python2.4/site-packages/yum/", line 591, in <lambda>
    pkgSack = property(fget=lambda self: self._getSacks(),
  File "/usr/lib/python2.4/site-packages/yum/", line 434, in _getSacks
  File "/usr/lib/python2.4/site-packages/yum/", line 223, in populateSack
  File "/usr/lib/python2.4/site-packages/yum/", line 71, in doSetup'postreposetup')
  File "/usr/lib/python2.4/site-packages/yum/", line 176, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/yum-plugins/", line 181, in postreposetup_hook
    all_urls = FastestMirror(all_urls).get_mirrorlist()
  File "/usr/lib/yum-plugins/", line 333, in get_mirrorlist
  File "/usr/lib/yum-plugins/", line 376, in _poll_mirrors
  File "/usr/lib/python2.4/", line 416, in start
    _start_new_thread(self.__bootstrap, ())
thread.error: can't start new thread

Server: Centos 5.5

share|improve this question

1 Answer 1

up vote 3 down vote accepted

Yum is notoriously bad at giving useful errors, and the stack-traces often don't help.

I would first try a yum clean all, and see of this is triggered by old cache data.

Make sure you have a sane values in /etc/yum/pluginconf.d/fastestmirror.conf. You could disable fastestmirror entirely to see if it's really at fault here as well.

share|improve this answer
Thanx man, looks the fastestmirror is the problem :) – Edmhs Jun 7 '11 at 12:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.