[CentOS] Yum update corrupted something badly - can only get access through SSH terminal or Webmin
tkb at alltechmedusa.com
Wed Apr 22 19:25:30 UTC 2009
Les Mikesell wrote:
> Dan Roberts wrote:
>> 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
> I think this is your immediate problem. Do you have a
> /usr/share/yum-cli/i18n.py file?
Run on my four C5.3 systems here
yum provides "/usr/share/yum-cli/i18n.py"
rpm -q --whatprovides /usr/share/yum-cli/i18n.py
ls -las /usr/share/yum-cli/i18n.py
I got zip.
More information about the CentOS