Bug 21881 - rpm dependency problems when rpms fail to install.
rpm dependency problems when rpms fail to install.
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2000-12-07 04:21 EST by Need Real Name
Modified: 2007-04-18 12:30 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-04-03 08:13:38 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2000-12-07 04:21:49 EST
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 09:57:39 EST
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 10:06:02 EST
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.

Note You need to log in before you can comment on or make changes to this bug.