[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


I am very new to Linux and am having difficulty with a newly imaged Linux box.  Any direction on where to start would be greatly appreciated.

Posted on 2008-11-10
Medium Priority
Last Modified: 2013-12-15
I am getting the error below when attempting to run the software updater:

Component: pirut
Summary: TB56c41384 missingexit.py:5:?:ImportError: No module named i18n

Traceback (most recent call last):
  File "/usr/sbin/pup", line 617, in ?
  File "/usr/sbin/pup", line 609, in main
    pup = PackageUpdater(not options.autoapply, options.config)
  File "/usr/sbin/pup", line 84, in __init__
    GraphicalYumBase.__init__(self, False, config)
  File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 137, in __init__
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 118, in doConfigSetup
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 162, in _getConfig
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 314, in doPluginSetup
    plugin_types, confpath, disabled_plugins)
  File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 145, in __init__
  File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 186, in _importplugins
    self._loadplugin(modulefile, types)
  File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 203, in _loadplugin
    module = imp.load_module(modname, fp, pathname, description)
  File "/usr/lib/yum-plugins/missingexit.py", line 5, in ?
    from i18n import _
ImportError: No module named i18n

Local variables in innermost frame:
__builtins__: {'IndexError': <class exceptions.IndexError at 0xb7ebf8fc>, 'help': Type help() for interactive help, or help(object) for help about object., 'vars': <built-in function vars>, 'SyntaxError': <class exceptions.SyntaxError at 0xb7ebf77c>, 'unicode': <type 'unicode'>, 'UnicodeDecodeError': <class exceptions.UnicodeDecodeError at 0xb7ebfcbc>, 'isinstance': <built-in function isinstance>, 'copyright': Copyright (c) 2001-2006 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': <class exceptions.NameError at 0xb7ebf65c>, 'dict': <type 'dict'>, 'input': <built-in function input>, 'oct': <built-in function oct>, 'SystemExit': <class exceptions.SystemExit at 0xb7ebf32c>, 'StandardError': <class exceptions.StandardError at 0xb7ebf2cc>, 'repr': <built-in function repr>, 'sorted': <built-in function sorted>, 'False': False, 'RuntimeWarning': <class exceptions.RuntimeWarning at 0xb7ebffbc>, 'list': <type 'list'>, 'iter': <built-in function iter>, 'reload': <built-in function reload>, 'Warning': <class exceptions.Warning at 0xb7ebfe3c>, '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': <class exceptions.EOFError at 0xb7ebf53c>, 'locals': <built-in function locals>, 'slice': <type 'slice'>, 'FloatingPointError': <class exceptions.FloatingPointError at 0xb7ebfaac>, 'sum': <built-in function sum>, 'OverflowWarning': <class exceptions.OverflowWarning at 0xb7ebff8c>, 'getattr': <built-in function getattr>, 'abs': <built-in function abs>, 'exit': 'Use Ctrl-D (i.e. EOF) to exit.', 'True': True, 'FutureWarning': <class exceptions.FutureWarning at 0xb7ed402c>, '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': <class exceptions.TypeError at 0xb7ebf2fc>, 'license': Type license() to see the full license text, 'KeyboardInterrupt': <class exceptions.KeyboardInterrupt at 0xb7ebf38c>, 'UserWarning': <class exceptions.UserWarning at 0xb7ebfe6c>, 'filter': <built-in function filter>, 'range': <built-in function range>, 'staticmethod': <type 'staticmethod'>, 'SystemError': <class exceptions.SystemError at 0xb7ebfddc>, 'pow': <built-in function pow>, 'RuntimeError': <class exceptions.RuntimeError at 0xb7ebf56c>, 'float': <type 'float'>, 'StopIteration': <class exceptions.StopIteration at 0xb7ebf29c>, 'globals': <built-in function globals>, 'divmod': <built-in function divmod>, 'enumerate': <type 'enumerate'>, 'apply': <built-in function apply>, 'LookupError': <class exceptions.LookupError at 0xb7ebf8cc>, 'open': <type 'file'>, 'quit': 'Use Ctrl-D (i.e. EOF) to exit.', 'basestring': <type 'basestring'>, 'UnicodeError': <class exceptions.UnicodeError at 0xb7ebfb6c>, 'zip': <built-in function zip>, 'hex': <built-in function hex>, 'long': <type 'long'>, 'ReferenceError': <class exceptions.ReferenceError at 0xb7ebfdac>, 'ImportError': <class exceptions.ImportError at 0xb7ebf3ec>, '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': <class exceptions.Exception at 0xb7ebf26c>, 'tuple': <type 'tuple'>, 'UnicodeTranslateError': <class exceptions.UnicodeTranslateError at 0xb7ebfd4c>, 'reversed': <type 'reversed'>, 'UnicodeEncodeError': <class exceptions.UnicodeEncodeError at 0xb7ebfbfc>, 'IOError': <class exceptions.IOError at 0xb7ebf47c>, 'hasattr': <built-in function hasattr>, 'delattr': <built-in function delattr>, 'setattr': <built-in function setattr>, 'raw_input': <built-in function raw_input>, 'SyntaxWarning': <class exceptions.SyntaxWarning at 0xb7ebff5c>, 'compile': <built-in function compile>, 'ArithmeticError': <class exceptions.ArithmeticError at 0xb7ebf98c>, 'str': <type 'str'>, 'property': <type 'property'>, 'MemoryError': <class exceptions.MemoryError at 0xb7ebfe0c>, 'int': <type 'int'>, '__import__': <built-in function __import__>, 'KeyError': <class exceptions.KeyError at 0xb7ebf95c>, 'coerce': <built-in function coerce>, 'PendingDeprecationWarning': <class exceptions.PendingDeprecationWarning at 0xb7ebff2c>, 'file': <type 'file'>, 'EnvironmentError': <class exceptions.EnvironmentError at 0xb7ebf41c>, 'unichr': <built-in function unichr>, 'id': <built-in function id>, 'OSError': <class exceptions.OSError at 0xb7ebf4dc>, 'DeprecationWarning': <class exceptions.DeprecationWarning at 0xb7ebfecc>, 'min': <built-in function min>, 'execfile': <built-in function execfile>, 'complex': <type 'complex'>, 'bool': <type 'bool'>, 'ValueError': <class exceptions.ValueError at 0xb7ebfb0c>, 'NotImplemented': NotImplemented, 'map': <built-in function map>, 'buffer': <type 'buffer'>, 'max': <built-in function max>, 'object': <type 'object'>, 'TabError': <class exceptions.TabError at 0xb7ebf83c>, 'callable': <built-in function callable>, 'ZeroDivisionError': <class exceptions.ZeroDivisionError at 0xb7ebfa1c>, 'eval': <built-in function eval>, '__debug__': True, 'IndentationError': <class exceptions.IndentationError at 0xb7ebf80c>, 'AssertionError': <class exceptions.AssertionError at 0xb7ebf89c>, 'classmethod': <type 'classmethod'>, 'UnboundLocalError': <class exceptions.UnboundLocalError at 0xb7ebf6bc>, 'NotImplementedError': <class exceptions.NotImplementedError at 0xb7ebf5cc>, 'AttributeError': <class exceptions.AttributeError at 0xb7ebf74c>, 'OverflowError': <class exceptions.OverflowError at 0xb7ebf9bc>}
__name__: None
__file__: None
yum: None
__doc__: None

Also get the error below when attempting to access the users and groups menu:

The user database cannot be read.  This problem is most likely caused by a mismatch between /etc/passwd and /etc/shadow or /etc/group and /etc/gshadow.  The program will exit now.

Please point me in the right direction
Question by:wgilbert
  • 2
  • 2
LVL 19

Expert Comment

ID: 22926202
can you elaborate on the bit where you say " newly imaged Linux box."

Author Comment

ID: 22931002
Sorry it is a corporate image being used on a HP57100 M.  The hard drive was imaged from a Kix server like two previous that worked just fine.  I was hoping that these errors would indicate something.  The box works fine except for the errors when trying to make system changes.  Have also tried to apply the updates logged in as root.  - Same error.
LVL 19

Accepted Solution

jools earned 1500 total points
ID: 22933190
By kix you mean kickstart can you also provide the kickstart script.

i18n is the internationalisation stuff;

There is some information about your issue, try this for a start

Author Comment

ID: 22943327
Thanks I wound up using a newly imaged drive.  Will check your links another time but as you were tyhe only one to resopnd you get the points :)

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month18 days, 22 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question