Trying to trace why rpm is not working

Paul paul at all-the-johnsons.co.uk
Tue Jan 4 09:02:31 UTC 2005


Hi,

> > error: %pre(kernel-2.6.10-1.1056_FC4.i686) scriptlet failed, exit status
> > 255
> 
> So what was this scriptlet?  You should be able to see it 
> 
>   rpm -q --scripts -p kernel-2.6.10-1.1056_FC4.i686.rpm

It isn't failing from sh - this is really odd now.

I can run the scriptlets directly from the command line and everything
works. No errors at all. Really strange. Before running the scripts
manually within sh, that version of the kernel wasn't showing in grub
either!

If I try to run the scriptlets for the 1063 kernel (which isn't
installed), unsuprisingly, the postinstall fails.

It looks like it may be bash at fault...

/me does an rpm -Uhv --force bash-3.0.25* from
within /var/cache/yum/development/packages and tries again...

Looks happier...

Yep - new kernel now install. Looks like sanity hath returned. Thanks
folks for the help on that :-)

TTFN

Paul
-- 
"He's not the Messiah, he's a very naughty boy!"
- Life of Brian, Monty Python
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-test-list/attachments/20050104/745de1de/attachment.sig>


More information about the fedora-test-list mailing list