|
我想自己作一个CentOS5的respin版,想在系统安装过程中添加几个新的个性图片,这需要调整anaconda,但是我用/usr/sbin/anaconda --test --method=http://172.16.0.3/CentOS/5-respin/x86_64实验了一下,系统报错:
Traceback (most recent call last):
File "/usr/sbin/anaconda", line 702, in ?
for i in os.listdir("/mnt/runtime/usr/sbin"):
OSError: [Errno 2] 没有那个文件或目录: '/mnt/runtime/usr/sbin'
然后我mkdir -p /mnt/runtime/usr/sbin,安装程序可以继续进行,但是到软件包依赖检查完毕后点击“下一步”,系统有提示:
09:59:09 CRITICAL: Traceback (most recent call first):
File "/usr/lib/anaconda/urlinstall.py", line 95, in systemMounted
self.loopbackFile = "%s%s%s" % (chroot,
File "/usr/lib/anaconda/yuminstall.py", line 1330, in doPreInstall
if self.method.systemMounted (anaconda.id.fsset, anaconda.rootPath):
File "/usr/lib/anaconda/backend.py", line 180, in doPreInstall
anaconda.backend.doPreInstall(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 1018, in nextClicked
self.anaconda.dispatch.gotoNext()
File "/usr/lib/anaconda/iw/progress_gui.py", line 243, in renderCallback
self.intf.icw.nextClicked()
File "/usr/lib/anaconda/gui.py", line 1045, in handleRenderCallback
self.currentWindow.renderCallback()
IndexError: list index out of range
到这一步就不能再继续运行了。在国内外网上都找了,没有相关的解决办法。自己的python水平有限,希望各位大虾给小弟指点一下。谢谢 |
|