Red Hat Bugzilla – Bug 458042
makewhatis error on file name with shell meta-characters
Last modified: 2008-11-20 04:07:31 EST
Description of problem:
When man-pages-fr is installed, file '/usr/share/man/fr/man8/ld-linux.so*.8.gz' exists, '*' being a name character and not a meta.
This causes weekly cron makewhatis to send the following report:
makewhatis: line 191: [: too many arguments
makewhatis: line 194: [: too many arguments
Version-Release number of selected component (if applicable):
Always, if such a weird file name exists.
Could be fixed by double-quoting references to shell variable 'x' in makewhatis script, lines 191, 194, 201
I can't reproduce the problem you describe - so please could you attach here the full weekly-cron-job-message and the list of all man-pages* packages which you have installed?
No, I can't: I do not have this installation anymore !
But I reproduced it just now manually as follows:
_ On F8, install man-pages-fr (current version is now 3.03.0-1, but it still contains file '/usr/share/man/fr/man8/ld-linux.so*.8.gz')
_ Issue the command "/usr/sbin/makewhatis /usr/share/man/fr"
You will get the two error lines mentionned above.
Thanks - fixed in man-1.6f-13.fc11.