I have a small machine with a limited amount of flash space, so choose not to install documentation on it. I achieve this by doing the following post-install.. echo "%_excludedocs 1" >> /etc/rpm/macros and then removing everything underneath /usr/share/info On yum updates, the right thing happens (the new docs don't get installed) but every time a package tries to install an info package, it spits out something to the effect of.. install-info: No such file or directory for /usr/share/info/libc.info.gz Can this (fairly pointless) message be silenced ?
I don't really understand what you mean. install-info is certainly doing the right thing by complaining that the file doesn't exist. The scriptlet can be silenced, though, but it should be done at the package level and Packaging/ScriptletSnippets should be changed.
As Patrice said before: if package contains info files, it calls install-info in %post, i. e. /sbin/install-info %{_infodir}/libc.info.gz %{_infodir}/dir || : If libc.info.gz doesn't exist, it's obvious that install-info will complain. Of course, we can add --silent option to install-info at the package level, but it's IMHO not good idea... Resume: I don't think this is texinfo bug (I don't think this is bug at all), so closig it. Please discuss changes to http://fedoraproject.org/wiki/Packaging/ScriptletSnippets at fedora-devel mailing list, if you wish.
I have found some discussion about it on some list (don't remember which one, though) and the reporter said that 'he could live with these error messages'.
*** Bug 391141 has been marked as a duplicate of this bug. ***