LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-09-2004, 05:06 AM   #1
pelegk2
LQ Newbie
 
Registered: Sep 2004
Location: Israel the holy land
Posts: 19

Rep: Reputation: 0
unable to install MySQL 5 on Linux Fedora2


I'm runing this:
# rpm -i MySQL-server-5.0.0-0.i386.rpm

and this is the problam:
warning: MySQL-server-5.0.0-0.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5error: Failed dependencies:
MySQL conflicts with mysql-3.23.58-9


Thanks in advance,
Peleg
 
Old 11-09-2004, 08:58 AM   #2
r0b0
Member
 
Registered: Aug 2004
Location: Europe
Posts: 608

Rep: Reputation: 50
Quote:
MySQL conflicts with mysql-3.23.58-9
Uninstall the old mysql version first.
 
Old 11-09-2004, 09:00 AM   #3
David Mann
LQ Newbie
 
Registered: Sep 2004
Posts: 5

Rep: Reputation: 0
Peleg,

At the very least you need to remove the old MySQL before attempting to install the new one.

You would need to run something like:

# rpm -e mysql-3.23.58-9

I'm in the middle of upgrading to MySQL 4.1 and I got stuck with Apache - I can't get Perl/DBI to work with MySQL 4.1 in Apache but I did manage to install MySQL itself and 4.1 is at this moment running smoothly on my machine.

Now, when you run the rpm -e line mentioned above to remove the old mysql, you'll almost certainly get dependency errors. You will have to remove all the various packages mentioned in these error messages before it's possible to remove the old mysql. It took me a while to work through this clearing out process. I don't know how to automate it and I don't want to yet because the process gave me more insight into what goes into a Fedora distribution.

Once all the dependent packages are safely removed (and if you change your mind, they are, after all, on your installation disks so they are easy to re-install) you should be able to install MySQL 5 smoothly.

It seems worth mentioning that you need to install about five MySQL RPMs usually - the server, the client, some shared libraries and heaven knows what else - look at the download page at the mysql website. If you can decipher it all I take my hat off to you.
 
Old 11-10-2004, 12:11 AM   #4
pelegk2
LQ Newbie
 
Registered: Sep 2004
Location: Israel the holy land
Posts: 19

Original Poster
Rep: Reputation: 0
so

you wrote :
Quote:
you'll almost certainly get dependency errors. You will have to remove all the various packages mentioned in these error messages before it's possible to remove the old mysql
how do i uninstall this packags?beacuse i had execlly the samep roblem before and didnt know how to do it
 
Old 11-10-2004, 12:27 AM   #5
UsualTuxpect
Member
 
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545

Rep: Reputation: 31
The "-e" option mentioned by David Mann is for Uninstalling/erasing the already installed package on your system.

you can add the "v" option [Verbose] to see if every thing went well.. something like

#rpm -ev mysql-3.23.58-9 [uninstalls the mysql-3.23.58-9 from your system]

To get the name of the package which is already installed on your system .. Do the following

#rpm -qa | grep mysql
 
Old 11-10-2004, 03:29 AM   #6
pelegk2
LQ Newbie
 
Registered: Sep 2004
Location: Israel the holy land
Posts: 19

Original Poster
Rep: Reputation: 0
yes but i already did it

how do i solve the coflicts?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
MySQL - Warning: mysql_result(): Unable to jump to row 0 on MySQL result index 9 jasontn Linux - Software 0 02-09-2005 12:17 PM
Unable to install MySQL 4.1.7 on SuSE Professional 9.0 dthacker Linux - Software 2 11-03-2004 10:31 AM
mysql-4.1.6-gamma after source install on fedora2 - errors hq4ever Linux - Software 5 10-22-2004 04:26 PM
unable to install tightvnc on fedora2 chandu Linux - Networking 1 06-23-2004 12:29 PM
install linux without burning iso's to CD ? (fedora2) qwijibow Linux - Newbie 8 05-17-2004 03:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:29 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