MySQL -- install on ES3

Rick Stevens rstevens at vitalstream.com
Wed Dec 15 01:01:46 UTC 2004


Bob McClure Jr wrote:
> On Tue, Dec 14, 2004 at 05:10:27PM -0500, Yulan Dong wrote:
> 
>>Hi,
>>
>>I downloaded mysql-3.23.58-1.i386.rpm from redhat site. When I tried to
>>install it, I got an error: 
>>
>>[root at IMSSERVER ydong]# rpm -ivh mysql-3.23.58-1.i386.rpm
>>error: Failed dependencies:
>>        perl-DBD-MySQL is needed by mysql-3.23.58-1
>>    Suggested resolutions:
>>        perl-DBD-MySQL-2.1021-3.i386.rpm
>>
>>Then I downloaded perl-DBD-MySQL-2.1021-3.i386.rpm and tried to install
>>it, I got another error: 
>>
>>[root at IMSSERVER ydong]# rpm -ivh perl-DBD-MySQL-2.1021-3.i386.rpm
>>error: Failed dependencies:
>>        libmysqlclient.so.10 is needed by perl-DBD-MySQL-2.1021-3
>>    Suggested resolutions:
>>        mysql-3.23.58-1.i386.rpm
>>
>>How to solve this problem?
>>
>>Thank you in advance.
>>
>>Yulan
> 
> 
> Install them both at the same time:
> 
>   rpm -ivh mysql-3.23.58-1.i386.rpm perl-DBD-MySQL-2.1021-3.i386.rpm

Bob's got the fix.  Further explanation: If you only give rpm one of the
packages, it checks that RPM and sees that it's dependent on the other
and vice versa.  By giving both, rpm can see the dependencies will be 
resolved and installation goes ahead.  The only other way is to install
one by using the (somewhat dangerous) "--nodeps" option.  The second one
will install normally after that.

Ah, circular dependencies.  The "Catch-22" of the Linux world.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-    If your broker is so damned smart...why is he still working?    -
----------------------------------------------------------------------




More information about the Redhat-install-list mailing list