Bug 91641

Summary: gnupg package %post scriplet and --excludedocs
Product: [Retired] Red Hat Linux Reporter: Dams <anvil>
Component: gnupgAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED RAWHIDE QA Contact: Mike McLean <mikem>
Severity: low Docs Contact:
Priority: medium    
Version: 9CC: anvil, scop, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.4.2-2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-08-05 15:46:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dams 2003-05-26 16:27:10 UTC
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

Comment 1 Ville Skyttä 2003-05-26 19:07:22 UTC
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.