Overview
Yum command or update fails with “keyboard Interrupt
….Exiting on user cancel”
Applies To
·
CentOS 7
Error
With the below error message:
File
"/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1517,
in _do_perform
raise KeyboardInterrupt
KeyboardInterrupt
raise KeyboardInterrupt
KeyboardInterrupt
Cause
It is a know issue or bug. click on below URL for additional information.
Resolution
Edit the file “grabber.py”;
run the below command.
vi +1510 /usr/lib/python2.7/site-packages/urlgrabber/grabber.py
Modify – grabber.ph Python Script
Update the python script on the
line number “1510”. modify line below line text from:
elif
errcode in (42, 55, 56):
To line below line text to:
elif
errcode in (42):
Yum – List Packages
List the packages again, the issue should be resolved now.
No comments:
Post a Comment