[CentOS] Re: Upgrading mysql5 from centosplus

Scott Silva ssilva at sgvwater.com
Fri Jun 8 20:26:16 UTC 2007


Dhawal Doshy spake the following on 6/8/2007 3:34 AM:
> 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
> Size
> =============================================================================
> 
> Updating:
>  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
I thought it did way back when I was playing with it. Maybe it broke in a
later update.

-- 

MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!




More information about the CentOS mailing list