On Sun Jun 18 2000 at 12:25, =?iso-8859-1?Q?Jos=E9?= Luis Tinoco wrote:
> Hi Simon!
>
> Simon Maycock wrote:
>
> > [root@charlie Package Update]# rpm -Uvh mod_php3-pgsql-3.0.9-1.i386.rpm
> > error: failed dependencies:
> > libpq.so.2.0 is needed by mod_php3-pgsql-3.0.9-1
>
> This means that you have to first update tha package libpq.so.2.0 before you
> can update mod_php3-pgsql-3.0.9-1.i386.rpm. Just du this first. If you get a
> similar message when doing this, the try to install the package given by the
> error message, and so on.
The name of the actual package that provides the dependency isn't
always so obvious. RPM is an bloody brilliant package management
tool, but one of its failings is the obscurity that can happen when
looking for dependency packages like this. Personally, I've never
heard of "libpq.so" (although I suspect that it is provided by the
postgres sql packages - we use mysql everywhere around here).
> > [root@charlie Package Update]# rpm -U rpm-3.0.2-6.0.i386.rpm
> > [root@charlie Package Update]# rpm -U rpm-devel-3.0.2-6.0.i386.rpm
> > error: failed dependencies:
> > popt is needed by rpm-devel-3.0.2-6.0
>
> Same as above. Update popt first.
Bingo on that one :-) [Although in this case, the dependency is a
package, not a shared library.]
Cheers
Tony