|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
如果您觉得本篇CentOSLinux教程讲得好,请记得点击右边漂浮的分享程序,把好文章分享给你的好朋友们!明天在一个CentOSVPS上晋级体系时碰到一个成绩,yum报错:
#yumupdate- Loadedplugins:fastestmirrorLoadingmirrorspeedsfromcachedhostfileTraceback(mostrecentcalllast):File"/usr/bin/yum",line29,in?yummain.user_main(sys.argv[1:],exit_code=True)File"/usr/share/yum-cli/yummain.py",line229,inuser_mainerrcode=main(args)File"/usr/share/yum-cli/yummain.py",line104,inmainresult,resultmsgs=base.doCommands()File"/usr/share/yum-cli/cli.py",line339,indoCommandsself._getTs(needTsRemove)File"/usr/lib/python2.4/site-packages/yum/depsolve.py",line101,in_getTsself._getTsInfo(remove_only)File"/usr/lib/python2.4/site-packages/yum/depsolve.py",line112,in_getTsInfopkgSack=self.pkgSackFile"/usr/lib/python2.4/site-packages/yum/__init__.py",line591,inpkgSack=property(fget=lambdaself:self._getSacks(),File"/usr/lib/python2.4/site-packages/yum/__init__.py",line434,in_getSacksself.repos.populateSack(which=repos)File"/usr/lib/python2.4/site-packages/yum/repos.py",line223,inpopulateSackself.doSetup()File"/usr/lib/python2.4/site-packages/yum/repos.py",line71,indoSetupself.ayum.plugins.run(postreposetup)File"/usr/lib/python2.4/site-packages/yum/plugins.py",line176,inrunfunc(conduitcls(self,self.base,conf,**kwargs))File"/usr/lib/yum-plugins/fastestmirror.py",line181,inpostreposetup_hookall_urls=FastestMirror(all_urls).get_mirrorlist()File"/usr/lib/yum-plugins/fastestmirror.py",line333,inget_mirrorlistself._poll_mirrors()File"/usr/lib/yum-plugins/fastestmirror.py",line376,in_poll_mirrorspollThread.start()File"/usr/lib/python2.4/threading.py",line416,instart_start_new_thread(self.__bootstrap,())thread.error:cantstartnewthread
复制代码 yum在启动fastestmirror插件时堕落,是yum的一个bug(http://yum.baseurl.org/ticket/70)。假如停失落mysqld,yum统统事情一般。一时办理举措是yumupdate时克制启动fastestmirror插件。- yum--disableplugin=fastestmirrorupdate
复制代码 如果您觉得本篇CentOSLinux教程讲得好,请记得点击右边漂浮的分享程序,把好文章分享给你的好朋友们! |
|