You could try using --skip-broken to work around the problem

yum install php-gd --skip-broken

You could try running: package-cleanup --problems

yum install php-gd package-cleanup --problems
                      
package-cleanup --dupes
 yum install php-gd package-cleanup --dupes
                       rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.

On Thu, Aug 5, 2010 at 11:50 AM, David Mugo <raidarmax@gmail.com> wrote:
> Guys,
>
> Am not a Linux guru but I am in a situation where I can only help myself in
> this one. Trying to install GD on CentOS, here is what i get:
>
> [root@dev1 ~]# yum install php-gd
> Loaded plugins: fastestmirror
> Loading mirror speeds from cached hostfile
>  * addons: ftp.cica.es
>  * base: ftp.cica.es
>  * extras: ftp.udl.es
>  * updates: ftp.cica.es
> Setting up Install Process
> Resolving Dependencies
> --> Running transaction check
> ---> Package php-gd.i386 0:5.1.6-27.el5 set to be updated
> --> Processing Dependency: php-common = 5.1.6-27.el5 for package: php-gd
> --> Finished Dependency Resolution
> php-gd-5.1.6-27.el5.i386 from base has depsolving problems
>   --> Missing Dependency: php-common = 5.1.6-27.el5 is needed by package
> php-gd-5.1.6-27.el
> 5.i386 (base)
> Error: Missing Dependency: php-common = 5.1.6-27.el5 is needed by package
> php-gd-5.1.6-27.e
> l5.i386 (base)
>  You could try using --skip-broken to work around the problem
>  You could try running: package-cleanup --problems
>                         package-cleanup --dupes
>                         rpm -Va --nofiles --nodigest
> The program package-cleanup is found in the yum-utils package.
>
> Please advise.
>
> David.
>
> --
> -------------
> http://blog.majibu.com
>
> _______________________________________________
> Skunkworks mailing list
> Skunkworks@lists.my.co.ke
> http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
> ------------
> Skunkworks Server donations spreadsheet
> http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1fbjAwOUE&hl=en
> ------------
> Skunkworks Rules
> http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
> ------------
> Other services @ http://my.co.ke
>



--
 Posted on 100% recycled electrons