On Wed, 14 Feb 2001, Corisen wrote:

> Hi,
> 
> I'm trying to install the lastest version of mysql 3.23.33 rpm
> (downloaded from mysql.com) on RH7 using the command "rpm -Uvh MySQL*"
> but encountered "failed dependencies error" as shown below:
> 
> error: failed dependencies:
>  MySQL-DBI-perl-bin is needed by MySQL-bench-3.23.33-1
>  mysql = 3.23.22 is needed by mysql-server-3.23.22-6
>  mysql is needed by php-mysql-4.0.1pl2-9
>  libmysqlclient.so.9 is needed by mysql-server-3.23.22-6
>  libmysqlclient.so.9 is needed by php-mysql-4.0.1pl2-9
> 
> Pls advise on the correct installation procedure.

Two choices:

1) Shut down your mysql demon if it is running by
   /usr/bin/mysqladmin shutdown 

do rpm -qa | grep mysql

and then using the list of installed mysql rpms do the following:

rpm -e mysql-devel
rpm -e mysql-client
rpm -e mysql-bench
rpm -e mysql-shared
rpm -e mysql

or whatever mysql rpms may have been installed.

then use rpm -Uvh to install the new rpms.

2) or, shut down your mysql demon, then do 

rpm -Uvh MySQL*rpm MySQL-devel*rpm MySQL-client*rpm MySQL-shared*rpm MySQL-bench*rpm

In other words, by supplying all required packages as arguments to rpm, all 
dependencies can be determined to be satisfied by rpm.  

 
Jack Bowling




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to