On 03/21/18 03:05, CLOSE Dave wrote:
It seems clear that some script or scriptlet in the package is not
doing
its job. But they seem pretty simple and I don't see any dependencies
which would make them fail on this machine and not others.
> # rpm -qp --scripts kernel-core-4.15.9-300.fc27.x86_64.rpm
> postinstall scriptlet (using /bin/sh):
>
> if [ `uname -i` == "x86_64" -o `uname -i` == "i386" ] &&
> [ -f /etc/sysconfig/kernel ]; then
> /bin/sed -r -i -e 's/^DEFAULTKERNEL=kernel-smp$/DEFAULTKERNEL=kernel/'
/etc/sysconfig/kernel || exit $?
> fi
> preuninstall scriptlet (using /bin/sh):
> /bin/kernel-install remove 4.15.9-300.fc27.x86_64
/lib/modules/4.15.9-300.fc27.x86_64/vmlinuz || exit $?
> posttrans scriptlet (using /bin/sh):
> /bin/kernel-install add 4.15.9-300.fc27.x86_64
/lib/modules/4.15.9-300.fc27.x86_64/vmlinuz || exit $?
That would seem to be a fair conclusion.
I think I would look at the kernel-install script a bit more. It seems it may be
calling the scripts in /usr/lib/kernel/install.d
--
Conjecture is just a conclusion based on incomplete information. It isn't a fact.