Results 1 to 8 of 8

Thread: Broken Yum

  1. #1
    Join Date
    Jul 2008
    Location
    Seminole, Oklahoma
    Posts
    1,665

    Broken Yum

    root@srv2 [~]# yum update
    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 229, in user_main
    errcode = main(args)
    File "/usr/share/yum-cli/yummain.py", line 104, in main
    result, resultmsgs = base.doCommands()
    File "/usr/share/yum-cli/cli.py", line 339, in doCommands
    self._getTs(needTsRemove)
    File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 101, in _getTs
    self._getTsInfo(remove_only)
    File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 112, in _getTsInfo
    pkgSack = self.pkgSack
    File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 591, in <lambda>
    pkgSack = property(fget=lambda self: self._getSacks(),
    File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 434, in _getSacks
    self.repos.populateSack(which=repos)
    File "/usr/lib/python2.4/site-packages/yum/repos.py", line 223, in populateSack
    self.doSetup()
    File "/usr/lib/python2.4/site-packages/yum/repos.py", line 71, in doSetup
    self.ayum.plugins.run('postreposetup')
    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/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
    I get this any time I try to use yum. Yum update, yum remove, etc. Any body know how to fix this?

    This is on a vps centOS 5.2 with openVZ centos 5.2 template

  2. #2
    Join Date
    May 2008
    Location
    Citrus Heights, CA
    Posts
    1,887
    Contact me via messenger and i'll take a look at it for you.
    iWebFusion.Net - Shared / Reseller / VPS / Bare Metal / Colocation / IP Transit / Networking
    *Simply Hosting - Wholly owned networks, in-house staff, legions of fans!

  3. #3
    try yum clean all

  4. #4
    Join Date
    Jul 2008
    Location
    Seminole, Oklahoma
    Posts
    1,665
    Thanks Mark it was the system resources now allowing it to run.

    Thanks to the rest for who tried to help

  5. #5
    We had similar issue and we reinstalled yum with all the dependent packages worked for us. Good to to know it can also be a system resource issue causing yum to report errors.
    www.24x7servermanagement.com
    Server Management, Server Security, Server Monitoring.
    India's Leading Managed Service Provider !! Skype: techs24x7

  6. #6
    Join Date
    Jul 2007
    Posts
    2,051
    yum clean all and then yum update -y should do the trick.
    Prashant T.

    Don't run after Success. Run after Excellence and Success will soon follow.

  7. #7
    Join Date
    Feb 2004
    Location
    USA
    Posts
    1,572
    Quote Originally Posted by prashant1979 View Post
    yum clean all and then yum update -y should do the trick.
    Thats what's fixes most yum hickup we've seen.

  8. #8
    Join Date
    Mar 2009
    Posts
    245
    I had similar problem and more i tried to fix more it was screwed until half of system apps was deleted,and only solution was os reload.But usually simply installing dependencies like phyton rpm works.

Similar Threads

  1. SPF broken?
    By DevMonkey in forum Hosting Security and Technology
    Replies: 6
    Last Post: 07-01-2008, 10:50 AM
  2. PHP Broken?
    By codek in forum Hosting Security and Technology
    Replies: 15
    Last Post: 12-23-2004, 09:47 AM
  3. Glibc broken, whole server broken
    By chielsen in forum Hosting Security and Technology
    Replies: 16
    Last Post: 07-25-2004, 02:25 AM
  4. Oh My God This Thread Is Broken! Links are broken too! WHT is broken!
    By websterworld in forum Web Hosting Lounge
    Replies: 67
    Last Post: 07-12-2004, 10:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •