I have a couple of in use C7 boxes that were built with ntsysv and chkconfig for some old packages that needed to start using init.d. (The person setting these up didn’t know about systemd creating service files for older packages, so we’re stuck with these as-is. Here’s my problem:
Error unpacking rpm package chkconfig-1.7.2-1.el7.x86_64
error: unpacking of archive failed on file /etc/init.d: cpio: rename chkconfig-1.3.61-4.el7.x86_64 was supposed to be removed but is not!
I can’t update the entire system because of this boondoggle and I can’t come up with a way to resolve this safely on a running system. WTH is going on, and why is this a problem? And how the devil do I fix it?