[CentOS] Upgrading MySQL from 4.1 to 5

Wed Apr 16 00:06:14 UTC 2008
Filipe Brandenburger <filbranden at gmail.com>

On Tue, Apr 15, 2008 at 7:53 PM, Tito Valentin <daemonracing at gmail.com> wrote:
> I still have problems installing even after I have removed the old mysql:
> [root at titov tmp]# rpm -Uvh mysql-5.0.48-2.el4.centos.i386.rpm
> error: Failed dependencies:
>         mysql-libs = 5.0.48-2.el4.centos is needed by mysql-5.0.48-2.el4.centos.i386

You need mysql-libs-5.0.48-2.el4.centos.i386.rpm

If you read the above message with attention, you'll see it's quite
explicit there what's the missing dependency.

You'll probably have to upgrade all RPMs at once, so run rpm -Uvh and
then pass all the rpms as parameters on the same line.