rh-l] Re : RPM installing error

R P Herrold herrold at owlriver.com
Sat Nov 4 04:23:35 UTC 2006


On Fri, 3 Nov 2006, pascal francois wrote:

> Hi,
> I had this problem before. I think it's a RPM Base corruption.

> Can any body help me please that  when I'm installing any rpm then I get this error.
> recently I use RHEL4.
>
> [root at sim root] # rpm -ivh openslp-1.2.0-1.i386.rpm
> Preparing...                ########################################### [100%]
> error: %pre(openslp-1.2.0-1.i386) scriptlet failed, exit status 255
> error:   install: %pre scriptlet failed (2), skipping openslp-1.2.0-1

no corruption at all -- there is a %pre script being called 
which is not able to run for some reason

Read the scripts thus, and solve what is wrong:

    rpm -qp --scripts openslp-1.2.0-1.i386.rpm

-- Russ Herrold




More information about the redhat-list mailing list