CentOS 7.x yum keyboard interrupt issue

From Notes_Wiki
Revision as of 14:21, 15 January 2017 by Saurabh (talk | contribs)

<yambe:breadcrumb>CentOS 7.x system administration</yambe:breadcrumb>

CentOS 7 yum keyboard interrupt issue

On CentOS 7 yum may not work and quit my mentioning keyboard interrupt as reason. This bug can be temporarily bypassed by using following steps:

  1. Edit /usr/lib/python2.7/site-packages/urlgrabber/grabber.py
  2. Go to line 1510 and change it from
    elif errcode in (42, 55, 56):
    to
    elif errcode == 42:


Learned from https://www.centos.org/forums/viewtopic.php?f=47&t=47372&start=10