CentOS 7.x yum keyboard interrupt issue

From Notes_Wiki
Revision as of 05:24, 18 August 2015 by Saurabh (talk | contribs) (Created page with "<yambe:breadcrumb>CentOS|CentOS</yambe:breadcrumb> =CentOS 7 yum keyboard interrupt issue= On CentOS 7 yum may not work and quit my mentioning keyboard interrupt as reason. ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<yambe:breadcrumb>CentOS|CentOS</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