On Wed, 28 Feb 2001, Herouth Maoz wrote:

[finding an rpm package that supplies a certain dependency]

> And I repeat my previous advice on how I resolve such problems for the 
> benefit of other readers:
> 
> - You try to install package x.rpm
> - It tells you that it needs foo.so
> - Go to rpmfind.net
> - Search (in general) for package x (e.g. "kdebase")

You can search for "foo.so" . If you miss a dependency for
foo.so.3.blalba.bar then search for foo.so.3.blalba.bar

With konqueror I believe the URL "rpmfind:foo.so.3.blalba.bar" willl do
exactly that.

> - Scroll down until you find your exact package x.
> - Click and scroll down the page for that package, locating the
>  requirements. foo.so appears among them.
> - Click on the link. It leads you to the package that
>  contains foo.so

There are usually several such packages. You are strongly encourged to
pick the one that belongs to the same version of your distro. If there is
no such one: try to figure which is the most similar. Otherwise you may
potentially run into troubles like duplicate files.

> - Download, install it, and install x.rpm
> - Curse the person who invented rpm...

You mean "curse the person who invented binary distributions". Actually
rpm saves you a lot of dirty work: 

* when was the last time you had to use ldd to find out which library is
your binary missing, and then try to figure out what you need library X
from url Y? 

* how about the effects of upgrading libraries?

If you think rpm dependencies are wrong, don't use them. Always use
--nodeps and friends. Or patch the rpm binary to only warn about
dependencies by default. But you'll have nobody to complain to when your
programs won't run because of missing libraries.

-- 
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to