[rhn-users] How to install perl-DBD-MySQL RPM package

SSI - Benjamin Morel bmorel at ssi.fr
Thu May 5 15:07:23 UTC 2005


Hello all,
I've got a problem while trying to install package perl-DBD-MySQL.
I've installed MySQL 4.1 from mysql.com's rpms, and they do not provide rpm for perl-DBD-MySQL
So I decided to try to install the package from rhn, with up2date, here are the results :

---------------------------------------------------------------------------------------------

[root at xxx i386]# up2date --install perl-DBD-MySQL

Fetching Obsoletes list for channel: rhel-i386-es-3...

Fetching rpm headers...
########################################

Name                                    Version        Rel
----------------------------------------------------------
perl-DBD-MySQL                          2.1021         3                 i386


Testing package set / solving RPM inter-dependencies...
########################################
RPM package conflict error.  The message was:
Test install failed because of package conflicts:
The following packages were added to your selection to satisfy dependencies:
Name                                    Version        Release
--------------------------------------------------------------
mysql                                   3.23.58        15.RHEL3.1

file /usr/bin/comp_err from install of mysql-3.23.58-15.RHEL3.1 conflicts with file from package MySQL-devel-4.1.11-0
file /usr/bin/mysql_config from install of mysql-3.23.58-15.RHEL3.1 conflicts with file from package MySQL-devel-4.1.11-0

---------------------------------------------------------------------------------------------

As you can see, it can not understand that mysql is already installed (but not under the package name "mysql", but "MySQL-client")
It tries to install mysql, but as we can expect the packages conflict.

So, what is the solution ? How can I find a perl-DBD-MySQL rpm package compatible with my version of MySQL (4.1) ?
I also tried to install the module from CPAN, without success : perl -MCPAN -e 'install DBD::mysql', without success (still have errors), and I really want to install it from RPM since I need it as a dependency for another package...

Any help greatly appreciated !

Regards,
Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/rhn-users/attachments/20050505/2aa0d508/attachment.htm>


More information about the rhn-users mailing list