The %pre script can refuse to install (exit with a 1 or some other positive return code). Problem if multiple rpm's are being installed,The reason for asking was that I wanted to create some dummy package that can be used as a simple check for service level (in particular security related upgrades). That dummy package would only have dependencies on specific required versions, and I would only have to check for the level of my dummy package (and be assured the system involved has installed at least the correct level or does not have the affected package at all).
some may have already been installed before yours. Additionally, by
Breaking on %pre would be an option, but it does not prevent the backlevel package installed later (I would need to add triggers for those.. hmm).
If you really, don't want to comprimise and want such a dependency feature, then probably you have a couple of paths:Need to think about whether I am deep enough into this to be able to do so... thanks.
Rob
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list