NB狗

当前位置:   网站首页 >> Centos

centos7一键脚本安装yum install curl出现的问题和解决办法

问题一:

[Error] Failed to install gzip

[Error] Failed to install openssl

[Error] Failed to install python

[Error] Failed to install pcre

[Error] Failed to install make

[Error] Failed to install curl

[Error] Failed to install cpio


yum install curl后出现了新的问题

Transaction check error:

  package curl-7.29.0-54.el7.x86_64 is already installed


Error Summary

-------------

卸载旧的安装包后就可以安装了

yum remove curl-7.29.0-54.el7.x86_64

yum install curl

(此问题出现于changeip的centos7系统模板)


问题二:

[Error]Download libsodium-1.0.17.tar.gz failed

yum install epel-release -y && yum install libsodium -y

(此问题出现于使用网易云centos7镜像的vmware虚拟机中)