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.... - rh -- Robert Hanson - Abba Communications Computer & Internet Services (509) 624-7159 - www.abbacomm.net
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
Robert Hanson wrote:> [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.... >you might want to check yum's configs for exclude's as well as non-centos rpm's installed on the machine. its possible that the php-mysql is being excluded from the transaction set, or that its a non centos rpm, with some other odd provides/requires setup. -- Karanbir Singh : http://www.karan.org/ : 2522219 at icq
Robert Hanson wrote:> it had a failed (lost remote connection) yum update on centos 4.x and i am > trying to finish... > > --> 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-mysqlMost likely it failed somewhere in the middle of updating php packages. Leaving you with inconsistent mix of old and new versions of PHP packages. What you might do is to update php by hand, and then finish the update process using yum. First get list of currently installed PHP packages: rpm -qa | grep php Then download them manually from any CentOS mirror (or simply use the ones from installation media, they'd get updated when you run yum anyhow). If the php package itself is missing, add it (might be it was corrupted or something when update process broke). You'll probably need to force things a bit: rpm -Uhv --force --nodeps --oldpackage list-of-rpm-files Replace "list-of-rpm-files" with filenames of RPM packages you are about to reinstall. The "oldpackage" option is needed if you choose to "update" with packages from installation CD-ROM (since those might be the older version then some of allready installed packages). When done, simply re-run "yum update" to finish.