Opened 6 years ago

Last modified 6 years ago

#28 new defect

%pre scriptlet can't abort installation of related packages

Reported by: dmik Owned by: ydario
Priority: critical Milestone:
Component: yum Version:
Severity: Keywords:
Cc:

Description

If the %pre snippet returns a failure, the owning package containing this section will not be installed. However, if the installation of this package was triggered by the YUM dependency resolver, installation of the dependent packages will not be aborted. This creates an inconsistent installation (the dependent package is installed while its requirement is not) and is not acceptable because it creates an invalid (most likely, non-working) installation that is not easy to fix.

Change History (1)

comment:1 Changed 6 years ago by dmik

This is especially important for %warpin_conflicts macros.

Note: See TracTickets for help on using tickets.