LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-27-2007, 01:04 PM   #1
natv
Member
 
Registered: Mar 2006
Posts: 66

Rep: Reputation: 15
Installing mySQL, can't even uninstall old version


Hi

I'm too embarrassed to post this question on the mySQL forums, mainly because I'm sure it's more of an issue with me not knowing what I'm doing rather than mySQL directly

I'm trying to install mySQL so I can learn it from both a server and client perspective, of course I'm in an endless loop here since I can't even get as far as installing it properly...

I have CentOS 4.4 installed on my home machine. The default mySQL client is installed:

[root@server install]# rpm -qa | grep -i mysql
mysql-4.1.20-1.RHEL4.1


Now, I want to install the server software, which I just downloaded from mySQL, along with the latest 4.x client software.

So I want to upgrade to the latest 4.x client, and then install the server software, etc..


I downloaded the following:

-rw-r--r-- 1 root root 5091213 Nov 23 08:13 MySQL-client-standard-4.1.22-0.rhel4.i386.rpm
-rw-r--r-- 1 root root 4941326 Nov 23 08:14 MySQL-devel-standard-4.1.22-0.rhel4.i386.rpm
-rw-r--r-- 1 root root 12376323 Nov 23 08:17 MySQL-server-standard-4.1.22-0.rhel4.i386.rpm
-rw-r--r-- 1 root root 1670773 Nov 23 08:18 MySQL-shared-compat-4.1.22-0.rhel4.i386.rpm
-rw-r--r-- 1 root root 1192119 Nov 23 08:18 MySQL-shared-standard-4.1.22-0.rhel4.i386.rpm
-rw-r--r-- 1 root root 15398642 Nov 23 08:18 MySQL-standard-debuginfo-4.1.22-0.rhel4.i386.rpm
-rw-r--r-- 1 root root 2046152 Nov 23 08:19 MySQL-test-standard-4.1.22-0.rhel4.i386.rpm



I tried to install the server software first, but getting failed dependencies left and right, so I tried upgrading the client version first and here is what I get:


[root@server install]# rpm -Uvh MySQL-client-standard-4.1.22-0.rhel4.i386.rpm
warning: MySQL-client-standard-4.1.22-0.rhel4.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
Preparing... ########################################### [100%]
file /usr/bin/mysql from install of MySQL-client-standard-4.1.22-0.rhel4 conflicts with file from package mysql-4.1.20-1.RHEL4.1
file /usr/bin/mysql_waitpid from install of MySQL-client-standard-4.1.22-0.rhel4 conflicts with file from package mysql-4.1.20-1.RHEL4.1
file /usr/bin/mysqladmin from install of MySQL-client-standard-4.1.22-0.rhel4 conflicts with file from package mysql-4.1.20-1.RHEL4.1
file /usr/bin/mysqlbinlog from install of MySQL-client-standard-4.1.22-0.rhel4 conflicts with file from package mysql-4.1.20-1.RHEL4.1
file /usr/bin/mysqlcheck from install of MySQL-client-standard-4.1.22-0.rhel4 conflicts with file from package mysql-4.1.20-1.RHEL4.1
file /usr/bin/mysqldump from install of MySQL-client-standard-4.1.22-0.rhel4 conflicts with file from package mysql-4.1.20-1.RHEL4.1
file /usr/bin/mysqlimport from install of MySQL-client-standard-4.1.22-0.rhel4 conflicts with file from package mysql-4.1.20-1.RHEL4.1
file /usr/bin/mysqlshow from install of MySQL-client-standard-4.1.22-0.rhel4 conflicts with file from package mysql-4.1.20-1.RHEL4.1
file /usr/share/man/man1/mysql.1.gz from install of MySQL-client-standard-4.1.22-0.rhel4 conflicts with file from package mysql-4.1.20-1. RHEL4.1
file /usr/share/man/man1/mysqlaccess.1.gz from install of MySQL-client-standard-4.1.22-0.rhel4 conflicts with file from package mysql-4.1 .20-1.RHEL4.1
file /usr/share/man/man1/mysqladmin.1.gz from install of MySQL-client-standard-4.1.22-0.rhel4 conflicts with file from package mysql-4.1. 20-1.RHEL4.1
file /usr/share/man/man1/mysqldump.1.gz from install of MySQL-client-standard-4.1.22-0.rhel4 conflicts with file from package mysql-4.1.2 0-1.RHEL4.1
file /usr/share/man/man1/mysqlshow.1.gz from install of MySQL-client-standard-4.1.22-0.rhel4 conflicts with file from package mysql-4.1.2 0-1.RHEL4.1


[root@server install]# rpm -qa | grep -i mysql
mysql-4.1.20-1.RHEL4.1





It's my understanding that rpm -Uvh is the proper RPM command to use to upgrade.

So next idea was to just uninstall the older version, since I haven't used mySQL yet anyway, but that doesn't work either:


[root@server install]# rpm -ev mysql-4.1.20-1.RHEL4.1
error: Failed dependencies:
libmysqlclient.so.14 is needed by (installed) dovecot-0.99.11-4.EL4.i386
libmysqlclient.so.14(libmysqlclient_14) is needed by (installed) dovecot-0.99.11-4.EL4.i386
[root@server install]#



Where do I find libmysqlclient.so or what should I be doing to get this working?


Any advice would be much appreciated.


Thanks
Nat
 
Old 02-27-2007, 06:26 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
One: you do not need the MySQL-standard-debuginfo rpm package.

Two: install all the mysql rpms at the same time; rpm -Uvh *.rpm

Three: your wasting keystrokes, try something like: rpm -qa mysql
 
Old 02-27-2007, 06:31 PM   #3
natv
Member
 
Registered: Mar 2006
Posts: 66

Original Poster
Rep: Reputation: 15
thanks Lenard!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to uninstall old version of KDE shazam75 Linux - Software 5 08-19-2005 12:17 PM
How do I UNinstall an old version of GLib? The Oate Mandriva 6 09-19-2004 06:39 PM
How do I uninstall RealPlayer so I can reinstall a different version? jdruin Linux - Software 1 06-15-2004 08:10 PM
How to uninstall Mozilla and use RPM Version kman0527 Linux - Software 3 06-13-2004 05:45 PM
how to check version and uninstall packets Vieux Linux - General 2 12-07-2002 02:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration