码迷,mamicode.com
首页 > Web开发 > 详细

Execute yum update—File”/usr/libexec/urlgrabber-ext-down”,line75,in

时间:2020-01-13 14:45:02      阅读:116      评论:0      收藏:0      [点我收藏+]

标签:most   __init__   下载安装   for   inter   cal   code   mod   mariadb   

问题:

执行 yum install -y zabbix-server-MySQL  zabbix-web-mysql  zabbix-agent  mariadb-server

命令下载安装包的时候遇到了下面的问题

Traceback (most recent call last):

  File "/usr/libexec/urlgrabber-ext-down", line 75, in <module>

    main()

  File "/usr/libexec/urlgrabber-ext-down", line 61, in main

    fo = PyCurlFileObject(opts.url, opts.filename, opts)

  File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1258, in __init__

    self._do_open()

  File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1589, in _do_open

    self._do_grab()

  File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1723, in _do_grab

    self._do_perform()

  File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1517, in _do_perform

raise KeyboardInterrupt

原因:

This issue is due to a bug in the urlgrabber python script: To mitigate this issue you can edit the line 1510 from /usr/lib/python2.7/site-packages/urlgrabber/grabber.py

 

解决:

打开这个文件:/usr/lib/python2.7/site-packages/urlgrabber/grabber.py

找到 elif errcode in (42, 55, 56):

elif errcode == 42:替换

Execute yum update—File”/usr/libexec/urlgrabber-ext-down”,line75,in

标签:most   __init__   下载安装   for   inter   cal   code   mod   mariadb   

原文地址:https://www.cnblogs.com/amy720/p/12186976.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!