[CentOS] failed yum upgrade aftermath

Sat Dec 17 23:42:26 UTC 2005
Craig White <craigwhite at azapple.com>

On Sat, 2005-12-17 at 14:43 -0800, Robert Hanson wrote:
> greetings
> 
> i am helping a sight impaired friend with an really old 96 meg ram computer
> that he uses for asterisk pbx
> 
> he loaded it... amazing for a blind person... and he wants me to secure it
> as best i can...
> 
> it had a failed (lost remote connection) yum update on centos 4.x and i am
> trying to finish...
> 
> what do i need to do to get past this part (below) now?
> 
> my apologies as i do not know how to specifically massage the machine or yum
> data areas to get out of here intact and finish the update...
> 
> my apologies. info below...
> 
> [root at server conf]# yum update
> Setting up Update Process
> Setting up repositories
> update                    100% |=========================|  951 B    00:00
> base                      100% |=========================| 1.1 kB    00:00
> addons                    100% |=========================|  951 B    00:00
> extras                    100% |=========================| 1.1 kB    00:00
> Reading repository metadata in from local files
> Resolving Dependencies
> --> Populating transaction set with selected packages. Please wait.
> ---> Package php-pear.i386 0:4.3.9-3.9 set to be updated
> ---> Package php-gd.i386 0:4.3.9-3.9 set to be updated
> ---> Package mc.i386 1:4.6.1-0.8.1 set to be updated
> ---> Package kernel-devel.i586 0:2.6.9-22.0.1.EL set to be installed
> ---> Package php.i386 0:4.3.9-3.9 set to be updated
> --> Running transaction check
> --> Processing Dependency: php = 4.3.9-3.8 for package: php-mysql
> --> Finished Dependency Resolution
> Error: Missing Dependency: php = 4.3.9-3.8 is needed by package php-mysql
> 
> thanks and kind regards....
> 
----
there's probably a more elegant way but I would...

rpm -qa|grep php

rpm -e (list of names from above)

yum install (list of names from above)

Craig