Description of problem: When I type "info grep", I get the info for grepjar Version-Release number of selected component (if applicable): grep-2.5.1-54.1 How reproducible: Always Steps to Reproduce: 1. Type "info grep" 2. 3. Actual results: The info for grepjar is displayed from fastjar.info Expected results: The info from grep.info Additional info:
I don't see this here, so I expect it's to do with which order grep and libgcj are installed. mitr: any better idea?
Not really. Paul, can you please attach your /usr/share/info/dir and, if you still have it, /root/install.log ?
Created attachment 134440 [details] /usr/share/info/dir My /root/install.log is 16 months old (April 2005), FC4-test2. Do you still want this? /usr/share/info/dir is attached.
Seems like /sbin/install-info (which gets run during grep's %postinstall scriptlet) failed for some reason. Does /usr/share/info/grep.info.gz exist?
$ ll /usr/share/info/grep.info.gz -rw-r--r-- 1 root root 25983 Jul 12 06:36 /usr/share/info/grep.info.gz
Should I try reinstalling grep with rpm?
Definitely looks like a problem with install-info then. Paul: what happens when you run this command as root?: /sbin/install-info --info-dir=/usr/share/info /usr/share/info/grep.info.gz (this is the command that gets run when grep is installed)
# /sbin/install-info --info-dir=/usr/share/info /usr/share/info/grep.info.gz # info grep No errors and the "info grep" now finds the info file. Could an incomplete yum update have cause this? The last grep update seems to have occurred when yum wasn't logging its activity (June 29 - July 14), but then yum doesn't appear to log error messages that might have occurred either.
Thanks. This seems to confirm both install-info and grep.info.gz are correct. Both info and grep were rebuild during the June 29..July 14 time, but there were no code changes at all. I'm afraid I can't think of a way to determine how this could have happened, my best guess is an rpm database corruption (incorrect package install counts) causing grep's %preun scriptlet to remove the entry from /usr/share/info/dir. Can you run (rpm --rebuilddb) and paste the output of (rpm -q info grep), please? Please also try reinstalling the grep package and check whether the info/dir entry was removed; try both (grep -Uvh --replacepkgs grep-VERSION.rpm) and (rpm -ev grep && rpm -Uvh grep-VERSION.rpm).
# rpm --rebuilddb # rpm -q info grep info-4.8-11.1 grep-2.5.1-54.1 # rpm -Uvh --replacepkgs /var/cache/yum/development/packages/grep-2.5.1-54.1.i386.rpm Preparing... ########################################### [100%] 1:grep ########################################### [100%] # info grep # rpm -ev grep --nodeps && rpm -Uvh /var/cache/yum/development/packages/grep-2.5.1-54.1.i386.rpm Preparing... ########################################### [100%] 1:grep ########################################### [100%] # rpm -q grep grep-2.5.1-54.1 # info grep # The "info grep" worked in both cases.
Thanks for the quick answer. I really have no idea how this could have happened, and unless there are other reports of this issue, or you can reproduce it, the best I can do is to assume this was caused by some random rawhide breakage. Please reopen this report if you have any additional information.