From Bugzilla Helper: User-Agent: Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U;) Gecko/20030131 Description of problem: the %post scriptlet in gnupg package doesnt check if info files are installed or not. As info files are doc files, when installing the package with "--excludedocs", the %post scriptlet says there is no such files or directories. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. rpm -Uvh --excludedocs gnupg*rpm Actual Results: Preparing... ########################################### [100%] 1:gnupg ########################################### [100%] install-info: No such file or directory for /usr/share/info/gpg.info.gz install-info: No such file or directory for /usr/share/info/gpgv.info.gz Expected Results: install-info should not have complained Additional info: install-info should be redirected to >/dev/null or info files presence should be checked before running install-info
Additionally, the scriptlets shouldn't fail (add " || :" to the end of all install-info commands), because that will cause upgrades to abort prematurely before the old package is removed, leaving 2 installed versions of gnupg.