报错如下

[root@iz2ze5zdki0r7z2om8cze5z ~]# yum install httpd-devel
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
  File "/usr/libexec/urlgrabber-ext-down", line 28
    except OSError, e:
                  ^
SyntaxError: invalid syntax

vi /usr/libexec/urlgrabber-ext-down
把python引用路径(第一行/usr/bin/python)改成和/usr/bin/yum一样的

文章来源于互联网,如有雷同请联系站长删除:yum安装报错File “/usr/libexec/urlgrabber-ext-down”, line 28

发表评论