Bug 399551

Summary: Update of 'which' leads to 'install-info' complaint
Product: [Fedora] Fedora Reporter: Joachim Frieben <jfrieben>
Component: whichAssignee: Than Ngo <than>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideKeywords: Reopened
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-25 10:56:47 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 Joachim Frieben 2007-11-26 15:40:14 UTC
Description of problem:
'install-info' complains about missing info dir entry in
  `/usr/share/info/which.info.gz'

Version-Release number of selected component (if applicable):
which-2.18-3.fc9

How reproducible:
Always.

Steps to Reproduce:
1. Update to which-2.18-3.fc9
  
Actual results:
Package is installed but the following message is returned to the
console: 'install-info: warning: no info dir entry in
  `/usr/share/info/which.info.gz''

Expected results:
Package installs without complaint.

Additional info:
The latest entry to the changelog seems to be related to the issue,
* Mon Nov 26 2007 Karsten Hopp <karsten> 2.18-3
- add dir entry for info page

Comment 1 Than Ngo 2007-11-26 17:57:00 UTC
it's the bug in previous version, which printed the warning. It's now fixed in 
which-2.18-3.fc9

Comment 2 Joachim Frieben 2007-11-26 18:12:19 UTC
However, executing 'rpm -Uhv --force which-2.18-3.fc9.x86_64.rpm' after
updating the package still issues this warning.

Comment 3 Than Ngo 2007-11-27 10:14:52 UTC
because the postinstall scriptlet of the previous which version is used!
if you delete which with "rpm -e which" and install it after that you won't 
see this warning.

Comment 4 Joachim Frieben 2007-11-27 23:24:41 UTC
(In reply to comment #3)
I actually do, and this even for which-2.18-4.fc9.

Comment 5 Michal Jaegermann 2007-11-29 02:09:36 UTC
/usr/share/info/which.info.gz is missing close to the beginning
a stanza of that sort:

INFO-DIR-SECTION Basics
START-INFO-DIR-ENTRY
* Which: (which).               Show the full path of (shell) commands.
END-INFO-DIR-ENTRY

The net effect is only a complaint, which is less important,
but 'which' is also not added to info directory and if you will
type 'info' it will not show up among displayed topics.

That is the case for the current rawhide updates.

Comment 6 Michal Jaegermann 2007-11-29 19:33:08 UTC
'rpm -q --changelog which' sports the following:

* Mon Nov 26 2007 Karsten Hopp <karsten> 2.18-3
- add dir entry for info page

Maybe this was an intention but as of which-2.18-5.fc9 this is
still not there so the complaint shows up and no dir entry
after an update.


Comment 7 petrosyan 2008-01-24 21:16:24 UTC
This bug has been fixed in which-2.19 which can be downloaded from
http://www.xs4all.nl/~carlo17/which/

Comment 8 Than Ngo 2008-01-25 10:56:47 UTC
it's fixed in rawhide