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

时间:2020-12-11 阅读:2634 评论:0 作者:nbdog

问题一:

[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虚拟机中)


本文链接: http://www.nbdog.com/10686.html 转载请注明出处!