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

Posted amy720

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Execute yum update—File”/usr/libexec/urlgrabber-ext-down”,line75,in相关的知识,希望对你有一定的参考价值。

问题:

执行 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的主要内容,如果未能解决你的问题,请参考以下文章

Hibernate 抛出的 Could not execute JDBC batch update

hibernate :Could not execute JDBC batch update我要崩溃了求大神光芒!!!

hibernate的Could not execute JDBC batch update错误原因及处理

rpm与yum命令定时任务和sed文本处理

hibernate添加数据报错:Could not execute JDBC batch update

配hibernate的时候,老报:org.hibernate.exception.DataException: Could not execute JDBC batch update