主頁(yè) > 知識(shí)庫(kù) > yum update 升級(jí)報(bào)錯(cuò)的解決辦法

yum update 升級(jí)報(bào)錯(cuò)的解決辦法

熱門(mén)標(biāo)簽:百度地圖標(biāo)注多少個(gè) 地圖標(biāo)注需要學(xué)什么 智能電話(huà)機(jī)器人哪個(gè)公司有名 凱立德飛機(jī)場(chǎng)地圖標(biāo)注點(diǎn) 北京電話(huà)機(jī)器人哪家便宜 簡(jiǎn)易地圖標(biāo)注應(yīng)用 湖南電話(huà)機(jī)器人開(kāi)發(fā)團(tuán)隊(duì) 免費(fèi)地圖標(biāo)注店 億信虛擬網(wǎng)絡(luò)電話(huà)外呼系統(tǒng)
今天deepvps在一個(gè) CentOS VPS 上升級(jí)系統(tǒng)時(shí)遇到一個(gè)問(wèn)題,yum 報(bào)錯(cuò):

復(fù)制代碼
代碼如下:

# 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
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

yum 在啟動(dòng) fastestmirror 插件時(shí)出錯(cuò),是 yum 的一個(gè) bug(http://yum.baseurl.org/ticket/70)。如果停掉 mysqld,yum 一切工作正常。臨時(shí)解決辦法是 yum update 時(shí)禁止啟動(dòng) fastestmirror 插件。

復(fù)制代碼
代碼如下:

yum –disableplugin=fastestmirror update

標(biāo)簽:遼陽(yáng) 龍巖 大興安嶺 淘寶邀評(píng) 北海 延邊 南陽(yáng) 眉山

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《yum update 升級(jí)報(bào)錯(cuò)的解決辦法》,本文關(guān)鍵詞  yum,update,升級(jí),報(bào),錯(cuò)的,解決,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問(wèn)題,煩請(qǐng)?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無(wú)關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《yum update 升級(jí)報(bào)錯(cuò)的解決辦法》相關(guān)的同類(lèi)信息!
  • 本頁(yè)收集關(guān)于yum update 升級(jí)報(bào)錯(cuò)的解決辦法的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章