# yum install -y rpm-build
报错:
file /etc/rpm/macros.ghc-srpm from install of redhat-rpm-config-9.1.0-87.el7.centos.noarch conflicts with file from package epel-release-6-8.noarch
解决方案:
# yum erase epel-release
再继续安装:
yum install -y rpm-build
# yum install -y rpm-build
报错:
file /etc/rpm/macros.ghc-srpm from install of redhat-rpm-config-9.1.0-87.el7.centos.noarch conflicts with file from package epel-release-6-8.noarch
解决方案:
# yum erase epel-release
再继续安装:
yum install -y rpm-build