A little script can find it for you:

#! /bin/tcsh
#
# Looks for a package that contains a string

set RPMDIR = /cooker/Mandrake/RPMS

set rpmliste = `ls $RPMDIR`

foreach rpm ($rpmliste)
  set trig = `rpm -qpl $RPMDIR/$rpm | grep $1`
  if ($#trig != 0) then
    echo $trig found in $rpm
  endif
end
#

Surely not the best but it works.
Of course, through ftp if you don't mirror locally, it 'might' be a bit 
slow...
=-=
kk1

>From: David Walluck <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: [Cooker] libgncengine.so.0?
>Date: Mon, 10 Jul 2000 21:16:07 -0400 (EDT)
>
>Isn't this one of the major problems of RPM? It needs a lib but can't
>tell you what package to get.
>
>On Mon, 10 Jul 2000, Quel Qun wrote:
>
> > The new gnucash cannot be installed:
> >
> > # rpm -Uvh gnucash-1.4.2-1mdk.i586.rpm
> > error: failed dependencies:
> >         libgncengine.so.0 is needed by gnucash-1.4.2-1mdk
> >
> > I cannot find any rpm containing this library.
> > =-=
> > kk1
> >
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

Reply via email to