gpt4 book ai didi

java - 安装 RPM 时出现包冲突错误

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:41:08 26 4
gpt4 key购买 nike

我在安装由 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

操作系统详细信息:

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 列在 specfile 中,只列出您实际提供的文件。

关于java - 安装 RPM 时出现包冲突错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42670677/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com