Chris Grau wrote: > On Fri, Dec 14, 2007 at 01:08:46AM -0800, Deke Clinger wrote: >> On Thu, 13 Dec 2007, Ralph Shumaker wrote: >>.. >> Can anybody clue me into why this doesn't work on Fedora as I've come >> to expect it to on RHEL? > > It does appear to be a Fedora vs. RHEL issue. No RPM package actually > provides g++. Instead, it provides /usr/bin/g++. On RHEL's version of > Yum, the provides command appears to use an implied glob pattern of > *g++*. However, Fedora's version of Yum only uses the pattern given as > an argument. Based on what I know of Yum's development, I'd guess that > was a change that happened in Yum 3.1+. In Fedora, either of the > following will work. > > $ sudo yum provides /usr/bin/g++ > > $ sudo yum provides '*/g++' > > The second is useful when you don't actually know where the file will be > installed. Both should be run as root, since the file cache will need > to be downloaded and cached (why Yum can't cache to a temporary > location, I don't know).
Another illuminating post! Thanks Chris -- you're the 2007 yum-meister! pretty soon we'll start asking what have you done for me lately ;-) Regards, ..jim -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
