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

Wed Apr 22 18:40:31 UTC 2009
Dan Roberts <dan at jlazyh.com>

Given the mess that I have already got, would you care to provide a  
clear list of the steps to do that - I certainly don't want to blow a  
hole in something else by mistake.

On Apr 22, 2009, at 12:37 PM, Michael Holmes wrote:

> 2009/4/22 Dan Roberts <dan at jlazyh.com>:
>> thanks for the details - As the server lives in a closet without a
>> monitor on it or even easy access I opted for Webmin so as to have  
>> the
>> ability to get in and work with it.
>> I will resubscribe and get back into a better habit - I had been
>> checking every day a year ago, and then life got busy.
>> Things were fine, and I had no trouble the in January when i put a
>> monitor on it for some other reasons - but after the hang today it  
>> now
>> is stuck.
>> As my cut and past below indicates, the "yum clean all" results in a
>> consistent set of errors - any yum command seems to return the same
>> errors.
>> Regardless of how or why they were caused, the issue now is how to
>> clear them out so that I can actually get yum to work -
>> [root at trailrunner yum]# yum clean all
>> 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
>> [root at trailrunner yum]#
> This looks like a problem with python to me. Try removing the python
> RPM and reinstalling, perhaps?
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos