LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mysql dependency/conflict problem... (https://www.linuxquestions.org/questions/linux-newbie-8/mysql-dependency-conflict-problem-496774/)

danscrima 10-29-2006 09:45 PM

mysql dependency/conflict problem...
 
I have made a mess of my mysql installation and need to start fresh...

I downloaded the rpm:
MySQL-server-standard-5.0.27-0.rhel3.i386.rpm

..but when i run this:
rpm -ivh MySQL-server-standard-5.0.27-0.rhel3.i386.rpm

..I get this error:
warning: MySQL-server-standard-5.0.27-0.rhel3.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
error: Failed dependencies:
MySQL conflicts with mysql-4.1.20-1.RHEL4.1.i386


Does anyone know how to fix this, with maybe a complete uninstall and complete reinstall... I'm a newbie so this is a little foreign still..

PatrickNew 10-29-2006 10:34 PM

sounds like you have mysql version 4.1.20-1 installed, so try removing it first with

rpm -e mysql-4.1.20-1.RHEL4.1.i386

then try insalling again with

rpm -ivh MySQL-server-standard-5.0.27-0.rhel3.i386.rpm

but before you try that second command, what distro are you using? Most have some tool to make installing things easier. Fedora has yum, Debian has apt, etc.

danscrima 10-30-2006 07:38 AM

T tried the rpm -e command, but it did not work. I got this error:
error: package mysql-4.1.20-1.RHEL4.1.i386.rpm is not installed

So I thought that had deleted it, then excuted:
rpm -ivh MySQL-server-standard-5.0.27-0.rhel3.i386.rpm

but still got the error:
warning: MySQL-server-standard-5.0.27-0.rhel3.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
error: Failed dependencies:
MySQL conflicts with mysql-4.1.20-1.RHEL4.1.i386

I am using CentOS.

PatrickNew 10-30-2006 09:26 AM

google leads me to believe that centos has yum. Try
yum install mysql-server

if that fails, try
yum update mysql-server

if that fails, try
yum remove mysql-server

then

yum install mysql-server

danscrima 10-30-2006 06:13 PM

thanks! the yum program seemed to install it, hopefully i can set the master password and get it up and running.

:)


All times are GMT -5. The time now is 12:12 PM.