|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
如果您觉得本篇CentOSLinux教程讲得好,请记得点击右边漂浮的分享程序,把好文章分享给你的好朋友们!明天本想在centos的vps上装一个vpn软件,试了一下yum,但是报错了[root@myvpslogs]#yumupdate
Loadedplugins:fastestmirror
Determiningfastestmirrors
Traceback(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_main
errcode=main(args)
File“/usr/share/yum-cli/yummain.py”,line104,inmain
result,resultmsgs=base.doCommands()
File“/usr/share/yum-cli/cli.py”,line339,indoCommands
self._getTs(needTsRemove)
File“/usr/lib/python2.4/site-packages/yum/depsolve.py”,line101,in_getTs
self._getTsInfo(remove_only)
File“/usr/lib/python2.4/site-packages/yum/depsolve.py”,line112,in_getTsInfo
pkgSack=self.pkgSack
pkgSack=property(fget=lambdaself:self._getSacks(),
File“/usr/lib/python2.4/site-packages/yum/__init__.py”,line434,in_getSacks
self.repos.populateSack(which=repos)
File“/usr/lib/python2.4/site-packages/yum/repos.py”,line223,inpopulateSack
self.doSetup()
File“/usr/lib/python2.4/site-packages/yum/repos.py”,line71,indoSetup
self.ayum.plugins.run(‘postreposetup’)
File“/usr/lib/python2.4/site-packages/yum/plugins.py”,line176,inrun
func(conduitcls(self,self.base,conf,**kwargs))
File“/usr/lib/yum-plugins/fastestmirror.py”,line181,inpostreposetup_hook
all_urls=FastestMirror(all_urls).get_mirrorlist()
File“/usr/lib/yum-plugins/fastestmirror.py”,line333,inget_mirrorlist
self._poll_mirrors()
File“/usr/lib/yum-plugins/fastestmirror.py”,line376,in_poll_mirrors
pollThread.start()
File“/usr/lib64/python2.4/threading.py”,line416,instart
_start_new_thread(self.__bootstrap,())
thread.error:can’tstartnewthread 假如停失落mysqld,yum统统事情一般。你能够实验先停失落mysql,不想停的话尝尝这个举措yumCdisableplugin=fastestmirrorupdate
yumCdisableplugin=fastestmirror-yinstallpam-devel [code][/code]查材料发明这是yum的一个bug(http://yum.baseurl.org/ticket/70),yum在启动fastestmirror插件时堕落,能够一时克制启动fastestmirror插件来减缓我们装置软件又不想停失落mysql。
如果您觉得本篇CentOSLinux教程讲得好,请记得点击右边漂浮的分享程序,把好文章分享给你的小伙伴们! |
|