RPM无法在RHEL上安装

时间:2019-08-30 09:54:09

标签: rpm rhel rhel7

我正在尝试在RHEL7上安装RPM软件包。 我收到以下错误;

select * from table where ent_name like (UTL_RAW.CAST_TO_VARCHAR2(HEXTORAW('C253')))

此错误的真正含义是什么? 这是否意味着不允许RPM abc对Fri Aug 30 05:36:55 UTC 2019--> Start Installing downloaded package... file /etc/rc.d from install of abc.x86_64 conflicts with file from package chkconfig-1.7.4-1.el7.x86_64 file /etc/rc.d/init.d from install of abc.x86_64 conflicts with file from package chkconfig-1.7.4-1.el7.x86_64 file /etc/rc.d from install of abc.x86_64 conflicts with file from package initscripts-9.49.47-1.el7.x86_64 file /etc/rc.d/init.d from install of abc.x86_64 conflicts with file from package initscripts-9.49.47-1.el7.x86_64 file /usr/lib/systemd/system from install of abc.x86_64 conflicts with file from package systemd-219-67.el7_7.1.x86_64 file /usr/lib/systemd from install of abc.x86_64 conflicts with file from package systemd-219-67.el7_7.1.x86_64 进行任何更改,或者/etc/rc.d是有冲突的软件包?

1 个答案:

答案 0 :(得分:1)

两个rpm软件包不能提供相同的文件或目录。因此:

不要

这将递归打包/etc/rc.d目录和内容。

%files
/etc/rc.d

要做

仅打包真正属于您的文件的文件。

%files
/etc/rc.d/init.d/*