Red Hat Bugzilla – Bug 55143
rpm ignoring noscripts option
Last modified: 2008-05-01 11:38:01 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.2.16-3 i686)
Description of problem:
I often install RealPlayer from the RPM as part of a setup script.
I don't want to start and register it so I use the --noscripts
option to rpm. The latest version of rpm that comes with RH7.2 just ignores
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.rpm --noscripts -Uvh rp8_linux20_libc6_i386_cs2.rpm
Actual Results: The postinstall.sh script from the rpm is run.
Expected Results: The package should be installed and no scripts run.
(I can then modify the postinstall.sh script to register MIME
types but not run RealPLayer)
This works OK in RH7.1
Yup. The mode needs to be first, before --noscripts.
This is gonna be needed to support multimode command
line operations in the future.
*** This bug has been marked as a duplicate of 51108 ***