# 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安装rpm-build过程中遇到的文件冲突问题,通过卸载冲突包epel-release后再进行安装的方法。
# 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

被折叠的 条评论
为什么被折叠?