Bug 187473 - perl-DBD-MySQL uninstallable
Summary: perl-DBD-MySQL uninstallable
Alias: None
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: perl-DBD-MySQL
Version: 2.1
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Jason Vas Dias
QA Contact:
Keywords: Regression
Depends On:
TreeView+ depends on / blocked
Reported: 2006-03-31 08:35 UTC by Bastien Nocera
Modified: 2007-11-30 22:06 UTC (History)
2 users (show)

Clone Of:
Last Closed: 2006-04-21 16:03:45 UTC

Attachments (Terms of Use)

Description Bastien Nocera 2006-03-31 08:35:22 UTC

perl-DBD-MySQL-1.2216-4 is uninstallable. It requires libmysqlclient.so.10
(which comes from RHEL4) when we only ship libmysqlclient.so.9 on RHEL 2.1:

perl-DBD-MySQL-1.2216-4 deps:
mysqlclient9-3.23.22-8 provides:

Comment 5 Jason Vas Dias 2006-04-21 16:03:45 UTC
Actually, libmysqlclient.so.10 IS shipped as part of the 
RHEL-2.1 U6+ mysql-3.23.58-1.72.1 package (latest errata
release mysql-3.23.58-1.72.2). But the only 'mysqlclient*'
package shipped for RHEL-2.1 is mysqlclient9-3.23.22-8, 
presumably shipped only for compatibility purposes for 
existing clients linked against libmysqlclient.so.9 .

So, you need to install the 'mysql' RPM in order to
install the perl-DBD-MySQL-1.2216-4 RPM, and then it
installs and works fine .

Perhaps we should consider shipping a mysqlclient-* RPM,
which would contain only the libmysqlclient libraries -
but that's not what we have done.

Yes, perhaps the perl-DBD-MySQL RPM should specify 'Requires: mysql',
(it currently only specifies 'BuildRequires: mysql-devel') - but I 
don't think this problem warrants a RHEL-2.1 perl-DBD-MySQL respin -
there is an easy workaround (install the mysql- RPM).

Comment 6 Tom Lane 2006-04-21 17:30:08 UTC
The mysql RPM is the *correct* RPM for this, as it is exactly the client-side
part of mysql (the server is in mysql-server).  I concur this is NOTABUG.

I also concur with adding 'Requires: mysql' in future builds, though, just to
make it more clear what the package depends on.

Note You need to log in before you can comment on or make changes to this bug.