Results 1 to 8 of 8
Thread: Broken Yum
-
09-21-2009, 01:39 AM #1Web Hosting Master
- 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
This is on a vps centOS 5.2 with openVZ centos 5.2 template
-
09-21-2009, 01:41 AM #2Rebooting is a hack, not a fix
- 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!
-
09-21-2009, 01:48 AM #3WHT Addict
- Join Date
- Sep 2008
- Posts
- 158
try yum clean all
-
09-21-2009, 02:06 AM #4Web Hosting Master
- 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
-
09-21-2009, 02:36 AM #5Web Hosting Master
- Join Date
- Oct 2007
- Posts
- 2,349
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
-
09-21-2009, 03:54 AM #6Eternal Learner
- 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.
-
09-21-2009, 08:48 AM #7Temporarily Suspended
- Join Date
- Feb 2004
- Location
- USA
- Posts
- 1,572
-
09-21-2009, 11:24 AM #8Junior Guru
- 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
-
SPF broken?
By DevMonkey in forum Hosting Security and TechnologyReplies: 6Last Post: 07-01-2008, 10:50 AM -
PHP Broken?
By codek in forum Hosting Security and TechnologyReplies: 15Last Post: 12-23-2004, 09:47 AM -
Glibc broken, whole server broken
By chielsen in forum Hosting Security and TechnologyReplies: 16Last Post: 07-25-2004, 02:25 AM -
Oh My God This Thread Is Broken! Links are broken too! WHT is broken!
By websterworld in forum Web Hosting LoungeReplies: 67Last Post: 07-12-2004, 10:13 PM