Difference between revisions of "CentOS 7.x yum keyboard interrupt issue"

From Notes_Wiki
(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. ...")
 
m
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<yambe:breadcrumb>CentOS|CentOS</yambe:breadcrumb>
[[Main Page|Home]] > [[CentOS]] > [[CentOS 7.x]] > [[CentOS 7.x system administration|System Administration]] > [[CentOS 7.x package management|Package management]] > [[CentOS 7.x yum|Yum]] > [[CentOS 7.x yum keyboard interrupt issue]]
=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:
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 7:
#::            elif errcode in (42, 55, 56):
#::            elif errcode in (42, 55, 56):
#:</pre>
#:</pre>
#::to
#:to
#:::<pre>
#::<pre>
#::::            elif errcode == 42:
#:::            elif errcode == 42:
#:::</pre>
#::</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
[[Main Page|Home]] > [[CentOS]] > [[CentOS 7.x]] > [[CentOS 7.x system administration|System Administration]] > [[CentOS 7.x package management|Package management]] > [[CentOS 7.x yum|Yum]] > [[CentOS 7.x yum keyboard interrupt issue]]

Latest revision as of 06:54, 25 August 2022

Home > CentOS > CentOS 7.x > System Administration > Package management > Yum > 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:

  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


Home > CentOS > CentOS 7.x > System Administration > Package management > Yum > CentOS 7.x yum keyboard interrupt issue