LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Error when using YUM (https://www.linuxquestions.org/questions/linux-newbie-8/error-when-using-yum-669212/)

mudogg80 09-11-2008 08:53 AM

Error when using YUM
 
I just tried to do a yum update on FC8 and received this message:

Traceback (most recent call last):
File "/usr/bin/yum", line 28, in <module>
import yummain
File "/usr/share/yum-cli/yummain.py", line 29, in <module>
import cli
File "/usr/share/yum-cli/cli.py", line 30, in <module>
import output
File "/usr/share/yum-cli/output.py", line 26, in <module>
from i18n import _
ImportError: No module named i18n

What does this mean and how do I fix it?

Thanks,

mudogg80

trickykid 09-11-2008 09:57 AM

Try doing a:

yum clean all

And then running it again.

mudogg80 09-11-2008 01:14 PM

Thanks for the reply, that didn't work. Any other ideas?

jnojr 03-19-2009 02:46 PM

[root@testbed ~]# 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 26, in ?
import cli
File "/usr/share/yum-cli/cli.py", line 26, in ?
import output
File "/usr/share/yum-cli/output.py", line 25, in ?
from i18n import _
ImportError: No module named i18n

spiff28088 04-22-2009 11:18 AM

Same error - but also can't log in directly!!
 
I ran Yum through Webmin as I tend to do every moth or so and the system seemed to lockup - after about 2 hours I reboot only to find that I can't get a login directly at the server - the cursor just spins and spins.

I can get there through a terminal ssh connection from another system in the network and from Webmin - the problem persists.

The above suggestions have not results in glory -

[root@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@trailrunner yum]#

Hope someone has a clue how to fix this and what I can do to get the login to actually work on the server itself rather than going through a terminal ssh window.

Feeling very uneasy at the moment - the system has been up and stable, with regular updates for quite some time now.


All times are GMT -5. The time now is 01:15 PM.