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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-05-2004, 01:59 PM
|
#1
|
LQ Newbie
Registered: Aug 2003
Posts: 8
Rep:
|
Installing MySQL
Hey everyone,
I'm attempting to install the updated MySQL package, 4.1.7 and when I do run the RPM installation I get the following message:
warning: /home/adam/MySQL-server-4.1.7-0.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
error: Failed dependencies:
MySQL conflicts with mysql-3.23.58-9
MySQL-server conflicts with mysql-server-3.23.58-9
And can't seem to get the install to work, any suggestions as to what I might do to correct this problem would be greatly appreciated.
|
|
|
11-05-2004, 03:12 PM
|
#2
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
You should really uninstall the old version first with:
rpm -e packagename
|
|
|
11-05-2004, 04:09 PM
|
#3
|
LQ Newbie
Registered: Aug 2003
Posts: 8
Original Poster
Rep:
|
When I attempt the rpm -e command I then get the following error:
error: can't create transaction lock
whatever that might mean
Programmers should start making intelligable error messages.
|
|
|
11-05-2004, 04:18 PM
|
#4
|
LQ Newbie
Registered: Aug 2003
Posts: 8
Original Poster
Rep:
|
good grief, never mind that last post.. figured it out.. silly me, however when I do the:
rpm -e mysql-3.23.58-9 i receive:
error: Failed dependencies:
libmysqlclient.so.10 is needed by (installed) perl-DBD-MySQL-2.9003-4
libmysqlclient.so.10 is needed by (installed) mod_auth_mysql-20030510-4.1
libmysqlclient.so.10 is needed by (installed) php-mysql-4.3.8-2.1
and does not uninstall. Any suggestions now?
Last edited by heho; 11-05-2004 at 04:22 PM.
|
|
|
11-06-2004, 09:04 AM
|
#5
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
If you remove with --nodeps the package should go but make sure you install the new version so that libmysqlclient is installed again. Alternatively forget the rpms and install from source so that you have more control over the destination of the installed files.
|
|
|
11-24-2004, 04:55 PM
|
#6
|
LQ Newbie
Registered: Sep 2004
Posts: 11
Rep:
|
Will erase with --nodeps and reinstall break dependencies?
I'm also trying to install MySQL-4.1.7 on a Fedora Core 2 system with MySQL-3.23.58-9 already installed. And I also get
[root@localhost downloads]# rpm -e --test mysql-3.23.58-9
error: Failed dependencies:
libmysqlclient.so.10 is needed by (installed) perl-DBD-MySQL-2.9003-4
libmysqlclient.so.10 is needed by (installed) mod_auth_mysql-20030510-4.1
libmysqlclient.so.10 is needed by (installed) php-mysql-4.3.4-11
libmysqlclient.so.10 is needed by (installed) mysql-server-3.23.58-9
mysql = 3.23.58 is needed by (installed) mysql-server-3.23.58-9
My question is: If I erase while ignoring dependencies with:
[root@localhost downloads]# rpm -e --nodeps mysql-3.23.58-9
And then reinstall with:
[root@localhost downloads]# rpm -i MySQL-server-4.1.7-0.i386.rpm
[root@localhost downloads]# rpm -i MySQL-client-4.1.7-0.i386.rpm
Will it automatically put libmysqlclient.so back in the right place, such that the old dependencies will still work? I'm assuming they will, but I'd like to ask you to be on the safe side.
Furthermore, how would I go about testing these dependencies to make sure they still work after the reinstall? Is there any nifty command to test this, or need I whip up some PHP and perl scripts myself?
Thanks!
-david
Update: Turns out it doesn't go in cleanly. MySQL works great, but doing the above steps broke the httpd startup script. Specifically, it failed to load auth_mod_mysql because it couldn't find libmysqlclient.so. I "fixed" it by disabling this module and thus getting httpd to restart, but I don't know why the module broke to begin with. Any ideas what went wrong, and how to fix it?
-david
Last edited by quinthar; 11-24-2004 at 09:40 PM.
|
|
|
11-25-2004, 01:49 PM
|
#7
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
Does libmysqlclient.so exist?
Try running "ldconfig".
|
|
|
All times are GMT -5. The time now is 06:56 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|