Dear Friends,
Today , I ran command yum update and I received follow error below.
======================= BEGIN ========= 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/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 343, in doCommands return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds) File "/usr/share/yum-cli/yumcommands.py", line 554, in doCommand return base.search(extcmds) File "/usr/share/yum-cli/cli.py", line 691, in search for (po, keys, matched_value) in matching: File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 1593, in searchGenerator for sack in self.pkgSack.sacks.values(): 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 ============= END =========================
How I do solve it?
Thnaks
Adriano
On Oct 30, 2009, at 8:43 AM, Adriano Frare wrote:
Dear Friends,
Today , I ran command yum update and I received follow error below.
======================= BEGIN ========= 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/yummain.py", line 229, in user_main errcode = main(args)
<snip>
Whenever yum gets weird I usually run "yum clean all" and everything gets better. CentOS 5.4 is out so if you haven't upgraded yet, check the release notes before running your next "yum update."
Thanks,
Dianne
Dianne wrote:
On Oct 30, 2009, at 8:43 AM, Adriano Frare wrote:
Today , I ran command yum update and I received follow error below.
======================= BEGIN ========= 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/yummain.py", line 229, in user_main errcode = main(args)
<snip>
Whenever yum gets weird I usually run "yum clean all" and everything gets better. CentOS 5.4 is out so if you haven't upgraded yet, check the release notes before running your next "yum update."
I literally figured that out yesterday - I'm rolling out the 5.3->5.4 upgrades. One thing though - on some servers that still had 5.2, yum crashed on sfpio<whatever> I then did yum update yum, and it stopped dying; though it still failed. *Then* I did yum clean all, and then yum -y update worked like a charm.
Wish there was a way to tell yum "answer q (rpm default action) to all questions...."
mark
On Fri, Oct 30, 2009 at 02:35:23PM -0600, m.roth@5-cent.us wrote:
I literally figured that out yesterday - I'm rolling out the 5.3->5.4 upgrades. One thing though - on some servers that still had 5.2, yum crashed on sfpio<whatever> I then did yum update yum, and it stopped dying; though it still failed. *Then* I did yum clean all, and then yum -y update worked like a charm.
http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.3 you should really read the release notes... especially the recommended procedure.
Tru
Tru Huynh wrote:
On Fri, Oct 30, 2009 at 02:35:23PM -0600, m.roth@5-cent.us wrote:
I literally figured that out yesterday - I'm rolling out the 5.3->5.4 upgrades. One thing though - on some servers that still had 5.2, yum crashed on sfpio<whatever> I then did yum update yum, and it stopped dying; though it still failed. *Then* I did yum clean all, and then yum -y update worked like a charm.
http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.3 you should really read the release notes... especially the recommended procedure.
*I* didn't do the upgrade from 5.2 to 5.3 on most of our systems. I was assuming that they, like the other systems, were 5.3, and didn't check. AFAIK, I was upgrading from 5.3 to 5.4.
mark
On 10/30/2009 03:43 PM, Adriano Frare wrote:
File "/usr/lib/python2.4/threading.py", line 416, in start _start_new_thread(self.__bootstrap, ()) thread.error: can't start new thread ============= END =========================
How I do solve it?
how much ram do you have ? how much of that is available to yum ?