読者です 読者をやめる 読者になる 読者になる

CentOS5.4インストールバグ

linux

仮想化ソフトVirtualBox上でCentOS5.4をインストールしようとしたら、何度やってもエラーが出る問題があったので書いておく。

http://bugs.centos.org/view.php?id=4103
インストールパッケージ選択時のリポジトリ選択でextrasを使うようにすると、
バグって止まってしまう様子なのでチェックを入れないようにする。

エラー文はこんな感じ
Traceback (most recent call first):
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 309, in _sql_MD
cache = getattr(self, MD + 'db')[repo]
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 44, in newFunc
return func(*args, **kwargs)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 317, in _sql_MD_pkg_num
return self._sql_MD('primary', repo, sql).fetchone()[0]
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 565, in searchFiles
pri_pkgs = self._sql_MD_pkg_num('primary', repo)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 44, in newFunc
return func(*args, **kwargs)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 965, in searchPrco
results.extend(self.searchFiles(name))
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 44, in newFunc
return func(*args, **kwargs)
File "/usr/lib/python2.4/site-packages/yum/sqlitesack.py", line 1017, in searchProvides
return self.searchPrco(name, "provides")
File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 482, in _computeAggregateListResult
sackResult = apply(method, args)
File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 339, in searchProvides
return self._computeAggregateListResult("searchProvides", name)
File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 170, in whatProvides
pkgs = self.pkgSack.searchProvides(name)
File "/tmp/treedir.28080/instimage/usr/lib/anaconda/yuminstall.py", line 379, in _provideToPkg
for po in self.whatProvides(r, f, v):
File "/tmp/treedir.28080/instimage/usr/lib/anaconda/yuminstall.py", line 452, in tsCheck
dep = self._provideToPkg(req)
File "/tmp/treedir.28080/instimage/usr/lib/anaconda/yuminstall.py", line 420, in resolveDeps
unresolved = self.tsCheck(unresolved)
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 732, in buildTransaction
(rescode, restring) = self.resolveDeps()
File "/tmp/treedir.28080/instimage/usr/lib/anaconda/yuminstall.py", line 1246, in doPostSelection
(code, msgs) = self.ayum.buildTransaction()
File "/tmp/treedir.28080/instimage/usr/lib/anaconda/backend.py", line 177, in doPostSelection
return anaconda.backend.doPostSelection(anaconda)
File "/usr/lib/anaconda/dispatch.py", line 201, in moveStep
rc = stepFunc(self.anaconda)
File "/usr/lib/anaconda/dispatch.py", line 124, in gotoNext
self.moveStep()
File "/usr/lib/anaconda/gui.py", line 1156, in nextClicked
self.anaconda.dispatch.gotoNext()
KeyError: