While installing package using yum, i get following error:
$ yum install <rpm_name> -v -y
error: %pre(<rpm_name>) scriptlet failed, exit status 1
Error in PREIN scriptlet in rpm package <rpm_name>
Warning: scriptlet or other non-fatal errors occurred during transaction.
Verifying : <rpm_name> 1/1
What is this? <rpm_name>
VerifyTransaction time: 0.003
Transaction time: 0.139
How to fix this?
Download that rpm package a run:
rpm -qp --scripts <rpmname>.rpm
This will give you the content of the scriptlet assigned to this package. RPM is trying to execute and somewhere there is an error.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With