Another way to do this other than with the rpm switches is with a handy
little utility called rpmfind. This RPM installed program has a syntax
as follows: rpmfind <package name>  Thus, an rpmfind of mrtg would go
like this....

[root@niteowl /root]# rpmfind mrtg
Arch : i686, Os : Linux
Default distribution : Red Hat Software(Hurricane)
        owning 379 of 568 installed packages
Get http://rufus.w3.org/linux/RDF//resources/mrtg.rdf
Get
http://rufus.w3.org/linux/RDF//contrib/hurricane/i386/mrtg-2.5.3-1.i386.rdf
Get http://rufus.w3.org/linux/RDF//resources/libgd.so.1.rdf
Get
http://rufus.w3.org/linux/RDF//contrib/hurricane/i386/libgd-1.3-2.i386.rdf
Installing mrtg will require 929 KBytes

### To Transfer:
ftp://rufus.w3.org/linux/contrib/hurricane/i386/libgd-1.3-2.i386.rpm
ftp://rufus.w3.org/linux/contrib/hurricane/i386/mrtg-2.5.3-1.i386.rpm
Do you want to download these files to /tmp [Y/n/a] ? : y
Download libgd-1.3-2.i386.rpm [Y/n/a] ? :y
transfering
ftp://rufus.w3.org/linux/contrib/hurricane/i386/libgd-1.3-2.i386.rpm
saving to /tmp/libgd-1.3-2.i386.rpm
Download mrtg-2.5.3-1.i386.rpm [Y/n/a] ? :y
transfering
ftp://rufus.w3.org/linux/contrib/hurricane/i386/mrtg-2.5.3-1.i386.rp
m
saving to /tmp/mrtg-2.5.3-1.i386.rpm

Now that i have done this i have both the mrtg package and required
libdg in my temp folder...

Pretty slick, eh? Check it out...its from ftp://rufus.w3.org

Michael Weiner
The UserFriendly Network
Hugh Lawson wrote:
> 
> On Thu, 2 Jul 1998, Michael Jinks wrote:
> 
> >
> > Thanks.  I went and got the RPM, but it failed with this line:
> >
> > # rpm -i mrtg-2.4.1-1.i386.rpm
> > failed dependencies:
> >         libgd.so.1 is needed by mrtg-2.4.1-1
> >
> 
> This raises an question.  When you get a failed dependency like this, how
> do you find out which package or source provides the required files?
> 
> I had this problem with libpng failed dependencies with an xemacs rpm
> file. I never could figure out which libpng.so number went with with
> which libpng rpm package.  Is there a searchable database somewhere that
> will let you input say "libgd.so.1" and which will return a package name
> or a source name?
> 
> Hugh Lawson
> Greensboro, North Carolina
> [EMAIL PROTECTED]


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to