Re: whatprovides vs provides

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday, 20 July 2005, at 16:40:32 (-0700),
Frank Cusack wrote:

> Isn't this inconsistent:
> 
> [frank@sturgeon rpm]$ rpm -q --provides bash
> config(bash) = 3.0-18
> bash = 3.0-18
> [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.

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  <mej@xxxxxxxxx>
n + 1, Inc., http://www.nplus1.net/       Author, Eterm (www.eterm.org)
-----------------------------------------------------------------------
 "All of these things held up in vain.  No reason or rhyme, just the
  scars that remain.  Of all of these things I'm so much afraid,
  scared out of my mind by the demons I've made."
                                        -- Jars of Clay, "Much Afraid"


[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux