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
Last Modified: 2013-12-15
I am getting the error below when attempting to run the software updater:

Component: pirut
Summary: TB56c41384 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/", line 137, in __init__
  File "/usr/lib/python2.4/site-packages/yum/", line 118, in doConfigSetup
  File "/usr/lib/python2.4/site-packages/yum/", line 162, in _getConfig
  File "/usr/lib/python2.4/site-packages/yum/", line 314, in doPluginSetup
    plugin_types, confpath, disabled_plugins)
  File "/usr/lib/python2.4/site-packages/yum/", line 145, in __init__
  File "/usr/lib/python2.4/site-packages/yum/", line 186, in _importplugins
    self._loadplugin(modulefile, types)
  File "/usr/lib/python2.4/site-packages/yum/", line 203, in _loadplugin
    module = imp.load_module(modname, fp, pathname, description)
  File "/usr/lib/yum-plugins/", 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
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,, Zope Corporation and a cast of thousands
    for supporting Python development.  See 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
    LVL 19

    Expert Comment

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

    Author Comment

    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

    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

    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 :)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
    The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. Once you open the link you will see …
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    779 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

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now