[CentOS] Upgrading mysql5 from centosplus

Dhawal Doshy dhawal at netmagicsolutions.com
Fri Jun 8 10:34:16 UTC 2007

Hello List,

I have a regular install of centos 4.4 i386 (lately updated to 4.5), a
new application needs mysql > 5.0.x

The natural way to do this was:
yum --enablerepo=centosplus update mysql

However, after all the dependency / transaction checks.. i get this..

Dependencies Resolved

  Package                 Arch       Version          Repository
  mysql                   i386       5.0.27-1.el4.centos  centosplus
     3.3 M
Installing for dependencies:
  mysqlclient14           i386       4.1.22-1.el4s1.1  centosplus
  1.2 M
  php-common              i386       5.1.6-3.el4s1.5  centosplus
135 k
  php-pdo                 i386       5.1.6-3.el4s1.5  centosplus
219 k
Updating for dependencies:
  mysql-devel             i386       5.0.27-1.el4.centos  centosplus
     2.3 M
  mysql-server            i386       5.0.27-1.el4.centos  centosplus
     9.9 M
  perl                    i386       4:5.8.8-4.el4s1  centosplus
  11 M
  perl-DBD-MySQL          i386       3.0008-1.el4.centos  centosplus
     145 k
  php-mysql               i386       5.1.6-3.el4s1.5  centosplus
  77 k

Transaction Summary
Install      3 Package(s)
Update       6 Package(s)
Remove       0 Package(s)
Total download size: 29 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test

Transaction Check Error:   file /etc/php.ini from install of
php-common-5.1.6-3.el4s1.5 conflicts with file from package php-4.3.9-3.22.5

Now i did manage to solve the problem, which looked pretty 
straight-forward 'yum --enablerepo=centosplus update mysql php' (note: 
added php).. but shouldn't the dependency checker be taking care of this?

- dhawal

More information about the CentOS mailing list