Bug 21881

Summary: rpm dependency problems when rpms fail to install.
Product: [Retired] Red Hat Linux Reporter: Need Real Name <scott_harrison>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED WONTFIX QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1CC: dr, redhat, tao
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-04-03 12:13:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Need Real Name 2000-12-07 09:21:49 UTC
If you try and install 2 RPMS, let's say x.rpm and y.rpm and y depends on x
then you might use the command:

rpm -i x.rpm y.rpm

However, if installation of x fails (in the tested case it failed due to an
error in the pre installation script) then y is still installed.  You then
have package y installed, but it's dependency x isn't.

Comment 1 Jeff Johnson 2000-12-22 14:57:39 UTC
Yup, that's the behavior that is implemented to the best of my knowledge. 

A "fix" is non-trivial, and is gonna take a while, so I'm marking as Deferred.

Comment 2 Jeff Johnson 2002-11-22 15:06:02 UTC
Detecting all %pre failures before any
package is installed would be very nice to
do, but cannot be done without reworking
rpm's install state machine. Not gonna happen
soon, may never happen.