LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (http://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   SuSE 9 - Having problems upgrading MySql 4.0 to 4.1 (http://www.linuxquestions.org/questions/linux-enterprise-47/suse-9-having-problems-upgrading-mysql-4-0-to-4-1-a-644063/)

Newbie0520 05-22-2008 12:42 PM

SuSE 9 - Having problems upgrading MySql 4.0 to 4.1
 
This is the errors I get when upgrading thru rpm:

file /usr/bin/perror from install of MySQL-server-standard-4.1.22-0.sles9 conflicts with file from package mysql-client-4.0.18-32.1
file /usr/bin/replace from install of MySQL-server-standard-4.1.22-0.sles9 conflicts with file from package mysql-client-4.0.18-32.1
file /usr/share/man/man1/perror.1.gz from install of MySQL-server-standard-4.1.22-0.sles9 conflicts with file from package mysql-client-4.0.18-32.1
file /usr/share/man/man1/replace.1.gz from install of MySQL-server-standard-4.1.22-0.sles9 conflicts with file from package mysql-client-4.0.18-32.1

Any help will be appreciated!

TB0ne 05-22-2008 12:49 PM

Quote:

Originally Posted by Newbie0520 (Post 3161566)
This is the errors I get when upgrading thru rpm:

file /usr/bin/perror from install of MySQL-server-standard-4.1.22-0.sles9 conflicts with file from package mysql-client-4.0.18-32.1
file /usr/bin/replace from install of MySQL-server-standard-4.1.22-0.sles9 conflicts with file from package mysql-client-4.0.18-32.1
file /usr/share/man/man1/perror.1.gz from install of MySQL-server-standard-4.1.22-0.sles9 conflicts with file from package mysql-client-4.0.18-32.1
file /usr/share/man/man1/replace.1.gz from install of MySQL-server-standard-4.1.22-0.sles9 conflicts with file from package mysql-client-4.0.18-32.1

Any help will be appreciated!

You can either remove the mysql-client package (rpm -e), upgrade the mysql-client package first, or force the upgrade (rpm -i --upgrade --force <your mysql rpm package name>).

The latest version of MySQL is 5.0, with the 5.1 release candidate out already. 4.1 is very old.

Newbie0520 05-22-2008 01:10 PM

thanks Tbone,

This is what I get:

> rpm -e mysql-client-4.0.18-32.1
error: Failed dependencies:
mysql-client is needed by (installed) mysql-4.0.18-32.20

this is what I get when I run the command: rpm -qa |grep mysql

php4-mysql-4.3.4-43.46.3
perl-DBD-mysql-2.9003-22.1
mysql-client-4.0.18-32.1
qt3-mysql-3.3.1-35.11
mysql-4.0.18-32.20
mysql-shared-4.0.18-32.1
python-mysql-0.9.3b2-90.1

It seems I need to get rid of "mysql-4.0.18-32.20"

Yes, I know that the latest MySQL out there is 5.0. I was trying to follow the recomendations of mysql.com
where theys say I quote "As a general rule, we recommend that when upgrading from one release series to another, you should go to the next series rather than skipping a series." So, since the version I have installed right now is 4.0 I wanted to upgrade it to 4.1 and then 5.0. Do you think I won't have any issues just doing the upgrade to 5.0?

Newbie0520 05-22-2008 02:57 PM

TBone,

thanks for the help I ran the client rpm first and then the server rpm and worked like a charm.

jotace 02-25-2009 06:37 PM

Quote:

Originally Posted by Newbie0520 (Post 3161684)
TBone,

thanks for the help I ran the client rpm first and then the server rpm and worked like a charm.

Hey, Newbie0520.. i guess i'm newbier...

I'm having the same problem..
I've downloaded the files:

MySQL-server-standard-4.1.22-0.sles9.i586.rpm
MySQL-client-4.1.11-0.i386.rpm

To upgrade mysql 4.0 to 4.1

Would you please give me the necessary commands in linux to get my mysql upgraded... am i missing any additional file?

TKS A LOT!!!

TB0ne 02-26-2009 01:17 PM

Quote:

Originally Posted by jotace (Post 3457528)
Hey, Newbie0520.. i guess i'm newbier...

I'm having the same problem..
I've downloaded the files:

MySQL-server-standard-4.1.22-0.sles9.i586.rpm
MySQL-client-4.1.11-0.i386.rpm

To upgrade mysql 4.0 to 4.1

Would you please give me the necessary commands in linux to get my mysql upgraded... am i missing any additional file?

TKS A LOT!!!

Look at my first post on this thread, it has the commands.

Also, you need to start your own thread, rather than hijacking someone elses. This is from May of last year....


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