安装 RPM 时出现包冲突错误
Package conflict error while installing RPM
我在安装由 netflix nebula 创建的 rpm 时遇到以下错误:
yum localinstall demo-daemon-0:0.0.1-1.noarch
交易检查错误:
file /etc/rc.d from install of demo-daemon-0:0.0.1-1.noarch conflicts with file from package chkconfig-1.7.2-1.el7.x86_64
file /etc/rc.d/init.d from install of demo-daemon-0:0.0.1-1.noarch conflicts with file from package chkconfig-1.7.2-1.el7.x86_64
file /etc/rc.d from install of demo-daemon-0:0.0.1-1.noarch conflicts with file from package initscripts-9.49.37-1.el7.x86_64
file /etc/rc.d/init.d from install of demo-daemon-0:0.0.1-1.noarch conflicts with file from package initscripts-9.49.37-1.el7.x86_64
OS 详情:
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-229.14.1.el7.x86_64
Architecture: x86-64
您不拥有 /etc/rc.d/
、/etc/rc.d/init.d/
等。将它们从规范文件中的 %files
列表中取出,只列出您实际提供的文件。
我在安装由 netflix nebula 创建的 rpm 时遇到以下错误:
yum localinstall demo-daemon-0:0.0.1-1.noarch
交易检查错误:
file /etc/rc.d from install of demo-daemon-0:0.0.1-1.noarch conflicts with file from package chkconfig-1.7.2-1.el7.x86_64
file /etc/rc.d/init.d from install of demo-daemon-0:0.0.1-1.noarch conflicts with file from package chkconfig-1.7.2-1.el7.x86_64
file /etc/rc.d from install of demo-daemon-0:0.0.1-1.noarch conflicts with file from package initscripts-9.49.37-1.el7.x86_64
file /etc/rc.d/init.d from install of demo-daemon-0:0.0.1-1.noarch conflicts with file from package initscripts-9.49.37-1.el7.x86_64
OS 详情:
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-229.14.1.el7.x86_64
Architecture: x86-64
您不拥有 /etc/rc.d/
、/etc/rc.d/init.d/
等。将它们从规范文件中的 %files
列表中取出,只列出您实际提供的文件。