[CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin

Wed Apr 22 19:09:07 UTC 2009
Les Mikesell <lesmikesell at gmail.com>

Michael Holmes wrote:
>
>> On Wed, Apr 22, 2009 at 1:46 PM, Dan Roberts <dan at jlazyh.com> wrote:
>>> I will start reading again and striving to improve things.  I have
>>> previously taken steps to secure the server, and was under the
>>> impression that it was so.
>> I hope so. If not, you have a tiger by the tail.
>>> that aside - I can't run the command you suggest because any yum
>>> operation results in the same error message.
>>>
>>> # yum clean all && yum update glibc\* && yum update
>>> Traceback (most recent call last):
>>>   File "/usr/bin/yum", line 28, in ?
>>>     import yummain
>>>   File "/usr/share/yum-cli/yummain.py", line 29, in ?
>>>     import cli
>>>   File "/usr/share/yum-cli/cli.py", line 30, in ?
>>>     import output
>>>   File "/usr/share/yum-cli/output.py", line 26, in ?
>>>     from i18n import _
>>> ImportError: No module named i18n
>> <http://www.centos.org/docs/5/html/5.1/Deployment_Guide/s2-sysconfig-i18n.html>
>>
>> Have you tried yum install i18n  ?
>> _______________________________________________
> 
> That wouldn't work because yum is broken?
> 
> Just my two cents.

I have always wondered about the sanity of using python for system 
administration tools, but this should be a yum file in /usr/share/yum-cli/.

-- 
   Les Mikesell
    lesmikesell at gmail.com