Discussion:
[Rtai] "kernel-headers is obsoleted" issue
Victor Costa
2018-10-25 20:41:49 UTC
Permalink
Hello everyone,
I am trying to install RTAI 5.0.1 with a vanilla 4.4.43 Kernel in a CENTOS
7 system.
I managed to compile the custom Kernel and to install the custom kernel
using

*rpm -ivh /root/rpmbuild/RPMS/x86_64/kernel-4.4.43_rtai-2.x86_64.rpm*

but when I try to install the kernel-headres.rpm file through

*rpm -ivh
/root/rpmbuild/RPMS/x86_64/kernel-headers-4.4.43_rtai-2.x86_64.rpm*

a *"kernel-headers is obsoleted by kernel-headers-4.4.43_rtai-2.x86_64"*
error is returned. Does anyone there know how to fix it? or what am I doing
wrong?
P.s: I don't know if it is of any help but somehow a
kernel-devel-4.4.43_rtai-2.x86_64.rpm and a kernel-4.4.43_rtai-2.x86_64.rpm
file were generated and the standard kernel of my system is the
3.10.0-862.el7.x86_64 one
Thanks in advance.
Victor Costa
Alec Ari
2018-10-25 22:52:16 UTC
Permalink
This is not a problem with RTAI, this is a CentOS/rpmbuild/rpm problem with a custom RPM package. Perhaps something is wrong in your spec file, but this is not the right place to be asking.
Try adding --force to your rpm command.

Alec

Loading...