| 发表于:2008-01-26 16:22:57 楼主 |
linux fedora 8 自带的软件包安装工具出错!! 错误信息: component: pirut summary: tbdf16452e aliases.py:27: <module> :importerror: no module named i18n traceback (most recent call last): file "/usr/sbin/system-install-packages", line 357, in <module> main() file "/usr/sbin/system-install-packages", line 350, in main pkginst = singlepackageinstaller() file "/usr/sbin/system-install-packages", line 63, in __init__ graphicalyumbase.__init__(self, false) file "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 132, in __init__ plugin_types=(yum.plugins.type_core,)) file "/usr/lib/python2.5/site-packages/yum/__init__.py", line 116, in doconfigsetup errorlevel=errorlevel) file "/usr/lib/python2.5/site-packages/yum/__init__.py", line 160, in _getconfig startupconf.pluginconfpath,disabled_plugins) file "/usr/lib/python2.5/site-packages/yum/__init__.py", line 306, in dopluginsetup plugin_types, confpath, disabled_plugins) file "/usr/lib/python2.5/site-packages/yum/plugins.py", line 145, in __init__ self._importplugins(types) file "/usr/lib/python2.5/site-packages/yum/plugins.py", line 186, in _importplugins self._loadplugin(modulefile, types) file "/usr/lib/python2.5/site-packages/yum/plugins.py", line 203, in _loadplugin module = imp.load_module(modname, fp, pathname, description) file "/usr/lib/yum-plugins/aliases.py", line 27, in <module> from i18n import _ importerror: no module named i18n local variables in innermost frame: clierror: none __builtins__: {'indexerror': <type 'exceptions.indexerror'> , 'all': <built-in function all> , 'help': type help() for interactive help, or help(object) for help about object., 'vars': <built-in function vars> , 'syntaxerror': <type 'exceptions.syntaxerror'> , 'unicode': <type 'unicode'> , 'unicodedecodeerror': <type 'exceptions.unicodedecodeerror'> , 'isinstance': <built-in function isinstance> , 'copyright': copyright (c) 2001-2007 python software foundation. all rights reserved. copyright (c) 2000 beopen.com. all rights reserved. copyright (c) 1995-2001 corporation for national research initiatives. all rights reserved. copyright (c) 1991-1995 stichting mathematisch centrum, amsterdam. all rights reserved., 'nameerror': <type 'exceptions.nameerror'> , 'dict': <type 'dict'> , 'input': <built-in function input> , 'oct': <built-in function oct> , 'systemexit': <type 'exceptions.systemexit'> , 'standarderror': <type 'exceptions.standarderror'> , 'repr': <built-in function repr> , 'sorted': <built-in function sorted> , 'false': false, 'runtimewarning': <type 'exceptions.runtimewarning'> , 'list': <type 'list'> , 'iter': <built-in function iter> , 'reload': <built-in function reload> , 'warning': <type 'exceptions.warning'> , 'round': <built-in function round> , 'dir': <built-in function dir> , 'cmp': <built-in function cmp> , 'set': <type 'set'> , 'reduce': <built-in function reduce> , 'intern': <built-in function intern> , 'issubclass': <built-in function issubclass> , 'ellipsis': ellipsis, 'eoferror': <type 'exceptions.eoferror'> , 'locals': <built-in function locals> , 'slice': <type 'slice'> , 'floatingpointerror': <type 'exceptions.floatingpointerror'> , 'sum': <built-in function sum> , 'getattr': <built-in function getattr> , 'abs': <built-in function abs> , 'exit': use exit() or ctrl-d (i.e. eof) to exit, 'true': true, 'futurewarning': <type 'exceptions.futurewarning'> , 'importwarning': <type 'exceptions.importwarning'> , 'none': none, 'hash': <built-in function hash> , 'len': <built-in function len> , 'credits': thanks to cwi, cnri, beopen.com, zope corporation and a cast of thousands for supporting python development. see www.python.org for more information., 'frozenset': <type 'frozenset'> , '__name__': '__builtin__', 'ord': <built-in function ord> , 'super': <type 'super'> , 'typeerror': <type 'exceptions.typeerror'> , 'license': see http://www.python.org/2.5/license.html, 'keyboardinterrupt': <type 'exceptions.keyboardinterrupt'> , 'userwarning': <type 'exceptions.userwarning'> , 'filter': <built-in function filter> , 'range': <built-in function range> , 'staticmethod': <type 'staticmethod'> , 'systemerror': <type 'exceptions.systemerror'> , 'baseexception': <type 'exceptions.baseexception'> , 'pow': <built-in function pow> , 'runtimeerror': <type 'exceptions.runtimeerror'> , 'float': <type 'float'> , 'memoryerror': <type 'exceptions.memoryerror'> , 'stopiteration': <type 'exceptions.stopiteration'> , 'globals': <built-in function globals> , 'divmod': <built-in function divmod> , 'enumerate': <type 'enumerate'> , 'apply': <built-in function apply> , 'lookuperror': <type 'exceptions.lookuperror'> , 'open': <built-in function open> , 'quit': use quit() or ctrl-d (i.e. eof) to exit, 'basestring': <type 'basestring'> , 'unicodeerror': <type 'exceptions.unicodeerror'> , 'zip': <built-in function zip> , 'hex': <built-in function hex> , 'long': <type 'long'> , 'referenceerror': <type 'exceptions.referenceerror'> , 'importerror': <type 'exceptions.importerror'> , 'chr': <built-in function chr> , 'xrange': <type 'xrange'> , 'type': <type 'type'> , '__doc__': "built-in functions, exceptions, and other objects.\n\nnoteworthy: none is the `nil' object; ellipsis represents `...' in slices.", 'exception': <type 'exceptions.exception'> , 'tuple': <type 'tuple'> , 'unicodetranslateerror': <type 'exceptions.unicodetranslateerror'> , 'reversed': <type 'reversed'> , 'unicodeencodeerror': <type 'exceptions.unicodeencodeerror'> , 'ioerror': <type 'exceptions.ioerror'> , 'hasattr': <built-in function hasattr> , 'delattr': <built-in function delattr> , 'setattr': <built-in function setattr> , 'raw_input': <built-in function raw_input> , 'syntaxwarning': <type 'exceptions.syntaxwarning'> , 'compile': <built-in function compile> , 'arithmeticerror': <type 'exceptions.arithmeticerror'> , 'str': <type 'str'> , 'property': <type 'property'> , 'generatorexit': <type 'exceptions.generatorexit'> , 'int': <type 'int'> , '__import__': <built-in function __import__> , 'keyerror': <type 'exceptions.keyerror'> , 'coerce': <built-in function coerce> , 'pendingdeprecationwarning': <type 'exceptions.pendingdeprecationwarning'> , 'file': <type 'file'> , 'environmenterror': <type 'exceptions.environmenterror'> , 'unichr': <built-in function unichr> , 'any': <built-in function any> , 'oserror': <type 'exceptions.oserror'> , 'deprecationwarning': <type 'exceptions.deprecationwarning'> , 'min': <built-in function min> , 'unicodewarning': <type 'exceptions.unicodewarning'> , 'EXECfile': <built-in function EXECfile> , 'id': <built-in function id> , 'complex': <type 'complex'> , 'bool': <type 'bool'> , 'valueerror': <type 'exceptions.valueerror'> , 'notimplemented': notimplemented, 'map': <built-in function map> , 'buffer': <type 'buffer'> , 'max': <built-in function max> , 'object': <type 'object'> , 'taberror': <type 'exceptions.taberror'> , 'callable': <built-in function callable> , 'zerodivisionerror': <type 'exceptions.zerodivisionerror'> , 'eval': <built-in function eval> , '__debug__': true, 'indentationerror': <type 'exceptions.indentationerror'> , 'assertionerror': <type 'exceptions.assertionerror'> , 'classmethod': <type 'classmethod'> , 'unboundlocalerror': <type 'exceptions.unboundlocalerror'> , 'notimplementederror': <type 'exceptions.notimplementederror'> , 'attributeerror': <type 'exceptions.attributeerror'> , 'overflowerror': <type 'exceptions.overflowerror'> } __file__: none time: none sys: none type_interactive: none __name__: none __doc__: none |
|
|
|
|