Description of problem: There doesn't appear to be a way to install an RPM package while disabling its %posttrans scriptlet. The '--noscripts' and '--notriggers' switches fail to disable the %posttrans. Is this intentional? Should there be a way to disable %posttrans? Version-Release number of selected component (if applicable): rpm-4.4.2.3-2.fc9.i386 How reproducible: Always Steps to Reproduce: 1. Generate an RPM with a %posttrans scriptlet 2. Install with 'rpm --noscripts foo.rpm' 3. Actual results: Expected results: Additional info:
Not intentional, just never completed implementation. The birthing of %posttrans has always been controversial. Another flaw is that %posttrans from erased packages cannot be run. Add --test will disable running of %posttrans (but also disables installing). There is a way to disable @rpm5.org, added this weekend past, but that is not the rpm that this bugzilla tracks.
Certainly not intentional, just another quirk/flaw of pre/posttrans like noted above. Fixed upstream at rpm.org now.
Fixed in rawhide as of rpm-4.6.0-0.rc4.1.fc11
rpm-4.6.0-1.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update rpm'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-1478
rpm-4.6.0-1.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.