Description of problem: I noticed that Info is not reading all of the /usr/share/info content. If I run `info', for example, I get Info menus corresponding to some of the info files present in /usr/share/info, but not all of them (eg, I can't see a menu for emacs, even though the file emacs.info.gz exists there). The command "info emacs" works, but even Emacs' built-in info reader can't find "Emacs" in the root info directory that comes up in the buffer. Note that INFOPATH is not defined on this machine. Version-Release number of selected component (if applicable): texinfo 5.0 How reproducible: Steps to Reproduce: 1. ls /usr/share/info 2. info 3. see that the menu items in the Info screen do not include many of the info files present in /usr/share/info Actual results: Expected results: Additional info:
Info doesn't read /usr/share/info content. When invoked without arguments, it shows content of /usr/share/info/dir file (show top-level dir menu). /sbin/install-info is used to update info/dir entries and packages have to call this command in post install scripts in order to make changes in the menu. E.g. # /sbin/install-info /usr/share/info/emacs.info.gz /usr/share/info/dir adds * Emacs: (emacs). The extensible self-documenting text editor. entry into the menu. The problem is in emacs-common post install script. It calls install-info with /usr/share/info/efaq-w32.info.gz which doesn't exist and the update of /usr/share/info/dir fails bacause of it.
Thank you for the `info' :-) I'll just add manually the relevant info file to the dir file via install-info, for the time being. best giuseppe
This was report to fedora in bz 1062792
# rpm -q emacs-common emacs-common-24.3-11.el7.x86_64 # rpm -q --scripts emacs-common | grep -A3 postinstall postinstall scriptlet (using /bin/sh): for f in ada-mode auth autotype bovine calc <snip> widget wisent woman; do /sbin/install-info /usr/share/info/$f /usr/share/info/dir 2> /dev/null || : done Example showing fir instance in above for loop where $f fails, but $f.info.gz works: # f=ada-mode ; /sbin/install-info /usr/share/info/$f /usr/share/info/dir install-info: No such file or directory for /usr/share/info/ada-mode # f=ada-mode ; /sbin/install-info /usr/share/info/$f.info.gz /usr/share/info/dir --- Assuming we can get an ACK for this on RHEL 7.2, will request z-stream for RHEL 7.1
Thanks for the bug, I will check why efaq-w32 was not removed from the list.
Strange I have installed RHEL-7 server with emacs Package versions are: [root@localhost yum.repos.d]# rpm -q emacs-common emacs-common-24.3-11.el7.x86_64 [root@localhost yum.repos.d]# rpm -ql emacs-common | grep efaq /usr/share/info/efaq.info.gz [root@localhost yum.repos.d]# Where did you find efaq-w32.info.gz? But you are right, emacs.info is not visible in menu.
(In reply to Petr Hracek from comment #10) > Strange I have installed RHEL-7 server with emacs > > Package versions are: > [root@localhost yum.repos.d]# rpm -q emacs-common > emacs-common-24.3-11.el7.x86_64 > [root@localhost yum.repos.d]# rpm -ql emacs-common | grep efaq > /usr/share/info/efaq.info.gz > [root@localhost yum.repos.d]# > > Where did you find efaq-w32.info.gz? That was from a RHEL 7.1 HTB system, wanted to make sure issue wasn't already fixed in RHEL 7.1 [root@rhel7-1 ~]# rpm -qf /usr/share/info/efaq.info.gz emacs-common-24.3-11.el7.x86_64
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-2434.html