Results 1 to 4 of 4
Hi,
I was playing with my yum and python. and that has left me nowhere.
I want to clean install yum and python again.
I have reinstalled python. Now I ...
- 06-16-2010 #1Just Joined!
- Join Date
- Sep 2009
- Posts
- 5
Problem with YUM and Python
Hi,
I was playing with my yum and python. and that has left me nowhere.
I want to clean install yum and python again.
I have reinstalled python. Now I want to install YUM.The links are from centos
I have followed these steps.
$ rpm -Uvh yum-3.2.22-26.el5.centos.noarch.rpm yum-fastestmirror-1.1.16-14.el5.centos.1.noarch.rpm yum-metadata-parser-1.1.2-3.el5.centos.i386.rpm
Preparing... ########################################### [100%]
1:yum-metadata-parser ########################################### [ 33%]
2:yum-fastestmirror ########################################### [ 67%]
3:yum ########################################### [100%]
error: unpacking of archive failed on file /usr/share/yum-cli/yumcommands.pyo;4c18976f: cpio: read failed - Bad file descriptor
$ yum
Traceback (most recent call last):
File "/usr/bin/yum", line 28, in ?
import yummain
File "/usr/share/yum-cli/yummain.py", line 34, in ?
from utils import suppress_keyboard_interrupt_message, show_lock_owner
ImportError: cannot import name suppress_keyboard_interrupt_message
$ rpm -q *yum*
package yum-3.2.22-26.el5.centos.noarch.rpm is not installed
package yum-fastestmirror-1.1.16-14.el5.centos.1.noarch.rpm is not installed
package yum-metadata-parser-1.1.2-3.el5.centos.i386.rpm is not installed
What are these errors and how to rectify them.?
Thanks,
Nikunj
Bangalore, India
- 06-16-2010 #2
Hi and Welcome !
Is yum working at all? Are you able to install any package using yum?
Try to clean cache first.
Code:yum clean all
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 06-16-2010 #3Just Joined!
- Join Date
- Sep 2009
- Posts
- 5
Hi,
yum is not at all working.
$ 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 34, in ?
from utils import suppress_keyboard_interrupt_message, show_lock_owner
ImportError: cannot import name suppress_keyboard_interrupt_mes
Kindly Kindly help..!!
- 06-16-2010 #4
yum depends on python, if you mess with python, most likely you will break yum unless proper precautions are taken, you may have to do a reinstall


Reply With Quote