>> [frank@sturgeon rpm]$ rpm -q --whatprovides /bin/sh >> bash-3.0-18 >> [frank@sturgeon rpm]$ >> >> If bash provides /bin/sh (as shown by --whatprovides), then the first >> command should have shown that. > >Nope. /bin/sh is a file, not an entry on a Provides: line or the >equivalent. Do you *really* expect --provides to list all the files >too? That's what "rpm -ql" is for. "/bin/sh" is "special" to rpm as it may be needed to run pre/post scripts. So I think it was a reasonable question who actually supplies this slightly-magical provide. For an environment where you use rpm but the system is not rpm-based itself (i.e. the distro is not installed through rpm), this is an entry you have to dummy up. For other path-to-executables, however, the comments made here are on target.