Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 10-10-2007, 04:46 PM   #1
LQ Newbie
Registered: Oct 2007
Posts: 2

Rep: Reputation: 0
(Re)installing mysql on RedHat ES3 via rpm


I have a fresh install of RedHat ES 3 that came with the new server. mysqld is not in /etc/init.d or anywhere else on the system. I'm guessing it's a flaw in the install. To fix the problem, I have download the rpms for mysql v5 from their website. rpm -Uhv package fails because there is apparently a library version conflict:

[root@emperor root]# rpm -Uhv MySQL-server-community-5.0.45-0.rhel3.x86_64.rpm
warning: MySQL-server-community-5.0.45-0.rhel3.x86_64.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
error: Failed dependencies: is needed by (installed) perl-DBD-MySQL-2.1021-3 is needed by (installed) mod_auth_mysql-20030510-2.ent is needed by (installed) php-mysql-4.3.2-25.ent is needed by (installed) libdbi-dbd-mysql-0.6.5-5 is needed by (installed) MySQL-python-0.9.1-6 is needed by (installed) MyODBC-2.50.39-12.1 is needed by (installed) qt-MySQL-3.1.2-13.4

I tried to uninstall the dependancies to upgrade later and get message like:

[root@emperor root]# rpm --erase perl-DBD-MySQL-2.1021-3
error: Failed dependencies:
perl-DBD-MySQL is needed by (installed) mysql-3.23.58-16.RHEL3.1

which indicates a circular dependancy.

Is the solution as simple as using --force? Anybody have any ideas?


Old 10-11-2007, 01:11 AM   #2
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
#rpm -e mysql perl-DBD-MySQL
Old 10-11-2007, 12:22 PM   #3
LQ Newbie
Registered: Oct 2007
Posts: 2

Original Poster
Rep: Reputation: 0
found args that work

Originally Posted by reddazz View Post
#rpm -e mysql perl-DBD-MySQL
This didn't work, but trying a few things on the man page I found that this works:

rpm -e --allmatches --nodeps mysql-....

I don't know how/why it was in there twice but allmatches gets them all. nodeps deletes it whether or not there are dependancies. I don't know yet if this makes it more broken than it was, but it's a way forward.




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
Error installing ipfilter 4.1.10-1 on RedHat ES3 massillon Linux - Software 0 03-09-2006 08:13 AM
Questions installing HPT 374 RAID in RedHat ES3 Landy Linux - Hardware 0 06-27-2005 10:04 PM
RedHat ES3 Antivirus Apache/MYSQL TieN Red Hat 2 04-04-2005 04:13 AM
RPM updates for RedHat ES3 ? simonakxp Red Hat 3 01-25-2005 11:34 AM
Installing MySQL in RedHat Linux 9.0 RPM mkrishnanand Linux - Software 1 03-19-2004 07:36 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:40 AM.

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