rpm -q datacenter-gpu-manager-2.3.1-1-x86_64.rpm --scripts
lists “pretrans program: /bin/sh”. This causes system installation including this package to fail since there is no /bin/sh during pretrans. See warnings about this in https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/
Note that the
%pretransscriptlet will, in the particular case of system installation, run before anything at all has been installed. This implies that it cannot have any dependencies at all. For this reason,
%pretransis best avoided, but if used it MUST (by necessity) be written in Lua. See rpm.org - Embedded Lua interpreter for more information.
Package will install correctly AFTER system installation, but not possible during. This issue does not exist in 2.2.