Results 1 to 7 of 7
Hello
i have centos 5.3 and when using yum command have this error
Traceback (most recent call last):
File "/usr/bin/yum", line 28, in ?
import yummain
File "/usr/share/yum-cli/yummain.py", line 31, ...
- 10-26-2009 #1Just Joined!
- Join Date
- Oct 2009
- Posts
- 11
[SOLVED] yum command error
Hello
i have centos 5.3 and when using yum command have this error
Traceback (most recent call last):
File "/usr/bin/yum", line 28, in ?
import yummain
File "/usr/share/yum-cli/yummain.py", line 31, in ?
from yum.i18n import to_unicode
ImportError: cannot import name to_unicode
How can i remove yum?
or how i can solve this error
thanks
- 10-26-2009 #2
i am not sure about your problem.
but you can remove yum by
you can find yum version installed by
then remove yum byCode:rpm -qa|grep yum
ofcourse you may need to install it againCode:rpm -e yum.XXXXX.rpm
do it in this way
download yum-XXXXX.noarch.rpmlet us know how it goes.Code:rpm -Uvh yum-XXXXX.noarch.rpm yum clean all yum check-update
Sorry, it was unintentional.
You should have told me at least once and i could have fix it.
thanks for reminding me.
- 10-27-2009 #3Just Joined!
- Join Date
- Oct 2009
- Posts
- 11
install yum
i removed yum
but command rpm -Uvh yum-XXXXX.noarch.rpm can't install it
how can i install yum?
thanks
- 10-27-2009 #4
yum-XXXXX.noarch.rpm is being used here as a generic placeholder. You need to download the appropriate package for CentOS 5.3 and use that package name instead.
You can find the correct yum package here.
RPM Search
Or if you can tell me whether you have a 64 bit or 32 bit version of CentOS, I can point you to the right link.
- 10-27-2009 #5Sorry, it was unintentional.
You should have told me at least once and i could have fix it.
thanks for reminding me.
- 10-28-2009 #6Just Joined!
- Join Date
- Oct 2009
- Posts
- 11
Thanks i install yum but when using to install any thing give me this message
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: centos-distro.cavecreek.net
* base: mirror.raystedman.net
* extras: styx.biochem.wfubmc.edu
* update: mirror.5ninesolutions.com
Excluding Packages in global exclude list
Finished
Setting up Install Process
Nothing to do
- 10-28-2009 #7
yum seems to be installed correctly and working.
probably you are not using correct package name.
you can have gui extension to yum.
use this command to install yumex.
you can then found yumex in System Tools.Code:yum install yumex
there you can choose packages you want to install.
if this doesn't work please wait someone else to answer.
it seems some problem with repo files.Sorry, it was unintentional.
You should have told me at least once and i could have fix it.
thanks for reminding me.



