|
我用FC2的system-config-packages --isodir=/mnt/g(我的iso文件放在该处)后,弹出的窗口一到检查依赖时就自动退出,并且系统提示:
[root@Wangjia roots]# system-config-packages --isodir=/mnt/g
Traceback (most recent call last):
File "/usr/share/system-config-packages/MainWindow.py", line 160, in ?
im = get_method(args)
File "/usr/share/system-config-packages/config.py", line 57, in get_method
return method.LoopbackIsoInstallMethod(isodir)
File "/usr/share/system-config-packages/method.py", line 342, in __init__
self.discImages = findIsoImages(tree)
File "/usr/share/system-config-packages/method.py", line 887, in findIsoImages log("The ISO image %s has a size which is not "
File "/usr/lib/python2.3/site-packages/rhpl/log.py", line 47, in __call__
self.handler (format % args)
TypeError: not enough arguments for format string
于是我按照提示打开/usr/share/system-config-packages/MainWindow.py把160行的im = get_method(args)中的args去掉后,该命令又能够正确的执行。
恳请高手指点一下 |
|