[PLUG] RPM dependency problem - More Info

Ian Burrell ian at znark.com
Fri Mar 12 10:20:06 UTC 2004


On Fri, Mar 12, 2004 at 10:06:47AM -0800, Morthland, Cam wrote:
>
> [root at black tmp]# rpm -Uvh   php-4.2.2-17.2.i386.rpm  
> warning: php-4.2.2-17.2.i386.rpm: V3 DSA signature: NOKEY, key ID
> db42a60e
> error: Failed dependencies:
>         libgd.so.1.8 is needed by php-4.2.2-17.2
> 
> [root at black tmp]# rpm -Uvh gd-1.8.4-4.i386.rpm 
> warning: gd-1.8.4-4.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
> error: Failed dependencies:
>         libpng.so.2 is needed by gd-1.8.4-4
> 
> [root at black tmp]# rpm -Uvh libpng-1.2.2-16.i386.rpm
> warning: libpng-1.2.2-16.i386.rpm: V3 DSA signature: NOKEY, key ID
> db42a60e
> Preparing...                ###########################################
> [100%]
>         package libpng-1.2.2-16 is already installed
> 
> [root at black tmp]# rpm -Uvh gd-1.8.4-4.i386.rpm 
> warning: gd-1.8.4-4.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
> error: Failed dependencies:
>         libpng.so.2 is needed by gd-1.8.4-4
>  

What version of Red Hat are you running?  What version of Red Hat did
you get the httpd, php, libpng, and gd packages that you are trying to
install?  Try doing "rpm -q httpd php libpng gd".   

You can also investigate the dependencies manually: "rpm -q --provides
libpng" tells you what libpng provides.  "rpm -qp --requires
gd-1.8.4-4.i386.rpm" tells you what the package requires.  "rpm -q
--whatprovides libpng.so.2" tells you if anything provides that
dependency.

You might want to install yum or apt.  They do the dependency
resolution and download the packages.  I use the versions from
http://freshrpms.net/.

 - Ian

-- 
ian at znark.com
http://www.znark.com/




More information about the PLUG mailing list