Failure to run %post in rpms

Philip Rowlands phr at doc.ic.ac.uk
Fri Jul 15 13:34:49 UTC 2005


On Fri, 15 Jul 2005, Ian Leonard wrote:

>Dan Carpenter wrote:
>> %post is run in a chroot on the system.
>
>Just to be sure, this is the %post script in the rpm, not the kickstart
>file.
>
>>
>> What did the error messages look like?
>
>I see lines like this:
>
>/var/tmp/rpm-tmp.34500:line 4: /bin/cp: No such file or directory
>/var/tmp/rpm-tmp.34500:line 18: /bin/cat: No such file or directory
>error: %post(microplay-1.0.0.31.i386) scriplet failed, exit 127

Much badness; does your package list those as dependencies? (or just
coreutils as a whole?)

I really ought to check up on the current status of this, but there
is/was a bug in anaconda which didn't realise when package orders were
messed up, and the workaround was to call "genhdlist; pkgorder;
genhdlist" with some flags. How did you build the custom CD (genhdlist
specifically)?


Cheers,
Phil




More information about the Kickstart-list mailing list