Difference between revisions of "CentOS 7.x yum keyboard interrupt issue"
From Notes_Wiki
m (Saurabh moved page CentOS 7 yum keyboard interrupt issue to CentOS 7.x yum keyboard interrupt issue) |
m |
||
Line 1: | Line 1: | ||
<yambe:breadcrumb>CentOS 7.x | <yambe:breadcrumb>CentOS_7.x_yum|CentOS 7.x yum</yambe:breadcrumb> | ||
=CentOS 7 yum keyboard interrupt issue= | =CentOS 7.x 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: | 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: | ||
Line 8: | Line 8: | ||
#:: elif errcode in (42, 55, 56): | #:: elif errcode in (42, 55, 56): | ||
#:</pre> | #:</pre> | ||
# | #:to | ||
# | #::<pre> | ||
# | #::: elif errcode == 42: | ||
# | #::</pre> | ||
Learned from https://www.centos.org/forums/viewtopic.php?f=47&t=47372&start=10 | Learned from https://www.centos.org/forums/viewtopic.php?f=47&t=47372&start=10 |
Revision as of 16:03, 23 January 2017
<yambe:breadcrumb>CentOS_7.x_yum|CentOS 7.x yum</yambe:breadcrumb>
CentOS 7.x 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:
- Edit /usr/lib/python2.7/site-packages/urlgrabber/grabber.py
- 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