Originally Posted by abylin1
Could you please help me interpret what the rpm -qR $(rpm -qf $(which grep)) is telling me and what I can do now?
Sure ... start reading from the innermost parenthesis
(the $( ) construct will run a sub-shell and hand its
output back to the calling shell):
The result, /usr/bin/grep, gets passed into
rpm -qf (man rpm: find which package a file belongs to, and
return its name):
rpm -qf /usr/bin/grep
The result, grep-2.5.1-32.3, then gets passed into the
next rpm query; rpm -qR (man rpm: list packages this package
rpm -qR grep-2.5.1-32.3
If the versions of libs your grep depends on matches the
list of installed packages, it's sweet. If there's no
obvious discrepancies, proceed with libs that are listed
w/o explicit version numbers in your last command, and
see whether anything THESE depend on is missing/in a
wrong version number.
A good candidate will be the regex library.