Dependencies ignored with rpm install

James Antill james at fedoraproject.org
Wed Jan 23 15:55:26 UTC 2013


On Wed, 2013-01-23 at 14:38 +0200, Eran Ben Natan wrote:
> Hello all,
> 
>  
> 
> I have a package B that requires A. When I run 'yum install B' and A
> fails, B is installed anyway. Is this the right behavior? Can I change
> it?
[...]
> Running Transaction
> 
> Error in PREIN scriptlet in rpm package A-1.0-1.x86_64
> 
> error: %pre(A-1.0-1.x86_64) scriptlet failed, exit status 1
> 
> error:   install: %pre scriptlet failed (2), skipping A-1.0-1

 This is a pure rpm thing, rpm doesn't undo parts of the transaction
when a prein scriptlet (or something else) fails.



More information about the Rpm-list mailing list