From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030807 Description of problem: When I add kernel-unsupported to my kickstart, it gives the following error: Installing kernel-unsupported-2.4.21-4.0.1.EL.i686. /var/tmp/rpm-tmp.94934: line 1: depmod: command not found error: %post(kernel-unsupported-2.4.21-4.0.1.EL) scriptlet failed, exit status 127 Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Add kernel-unsupported to kickstart. 2. Look at install.log after the kickstart. 3. Actual Results: Error message above Expected Results: Kernel-unsupported installs cleanly. Additional info: rpm -qp --requires kernel-unsupported-2.4.21-4.0.1.EL.i686.rpm only lists /bin/sh and rpmlib. It should list a requirement for modutils.
kernel-unsupported should probably require kernel so kickstart will work. Otherwise, kernel-unsupported could get installed before kernel.
kernel-unsupported HAS to be installed before kernel actually... As for depmod; the kernel-unsupported package does: [ -x /sbin/depmod ] && /sbin/depmod -ae so should only run depmod if it exists... but why do you install it at all ?????
FYI, kernel-unsupported-2.4.21-4.0.1.EL.i686.rpm just runs depmod -ae without testing for its existence. rpm -qp --scripts /export/linux/ftp/pub/linux/redhat/linux/updates/enterprise/3/en/os/i686/kernel-unsupported-2.4.21-4.0.1.EL.i686.rpm postinstall scriptlet (through /bin/sh): depmod -ae Maybe the version you have in CVS tests for depmod, but the latest published errata does not. Anyways, sounds like you've got it fixed in CVS so we can close this. I'll pull it from our internal distro.