error: %pre() scriptlet failed, exit status 4error: install: %pre scriptlet failed (2), skipping cell-


[root@EXDBADM001 cellbits]# rpm -qa|grep jdk

jdk-1.5.0_15-fcs.x86_64 <<<<<<<

There is a mismatch in format of rpm installation package

Create a macros file on the configuration directory and specify the correct format!! and retry rpm install with nodeps option. 
eg:rpm -Uvh xxx.rpm --nodeps

[root@EXDBADM001 cellbits]# cd ~/.

[root@EXDBADM001 cellbits]# cat ~/.rpmmacros
%_query_all_fmt %%{name}-%%{version}-%%{release}

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s