Centos 7.0 execute yum update ——File "/usr/libexec/urlgrabber-ext-down", line 75, in <module>

前端之家收集整理的这篇文章主要介绍了Centos 7.0 execute yum update ——File "/usr/libexec/urlgrabber-ext-down", line 75, in <module>前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

引言@H_404_4@

今天小编再次安装zabbix-server端,之前自己写过一个zabbix安装的教程,所以说小编认为这次会比较顺利,但是结果并不是这样的,所以说没有什么教程是一点问题都没有的,因为我们的安装环境不一样,所以所谓的教程,只是大家学习过程中的一个参考,下面来看看遇到的问题。@H_404_4@

问题重现:@H_404_4@

我在执行yum install -y zabbix-server-MysqL zabbix-web-MysqL zabbix-agent mariadb-server@H_404_4@

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

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
KeyboardInterrupt


@H_404_4@


@H_404_4@

Why does this error appear?@H_404_4@

原因:@H_404_4@

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
@H_404_4@

@R_301_463@案@H_404_4@

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

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

用 elif errcode == 42:替换@H_404_4@

这个问题就解决了 如果想了解更多 参考:@H_404_4@

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

猜你在找的CentOS相关文章