Bug #19250 RPM packaging problem,
Submitted: 21 Apr 2006 9:38 Modified: 11 May 2006 6:48
Reporter: Ask Hansen (Basic Quality Contributor) Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version: OS:
Assigned to: CPU Architecture:Any

[21 Apr 2006 9:38] Ask Hansen
Description:
# rpm -qa | grep MySQL
MySQL-server-standard-5.0.15-0.rhel4
MySQL-shared-standard-5.0.15-0.rhel4
MySQL-devel-standard-5.0.15-0.rhel4
MySQL-client-standard-5.0.15-0.rhel4

# ls -l MySQL*rpm
-rw-r--r--  1 root root  5578285 Apr  7 10:01 MySQL-client-standard-5.0.20-0.rhel4.i386.rpm
-rw-r--r--  1 root root  3015117 Apr  7 10:01 MySQL-devel-standard-5.0.20-0.rhel4.i386.rpm
-rw-r--r--  1 root root 12001502 Apr  7 10:03 MySQL-server-standard-5.0.20-0.rhel4.i386.rpm
-rw-r--r--  1 root root  3294475 Apr 11 13:48 MySQL-shared-compat-5.0.20-0.rhel4.i386.rpm
-rw-r--r--  1 root root  1322096 Apr  7 10:03 MySQL-shared-standard-5.0.20-0.rhel4.i386.rpm

# rpm -Uvh MySQL-*rpm
warning: MySQL-client-standard-5.0.20-0.rhel4.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
Preparing...                ########################################### [100%]
        file /usr/lib/libmysqlclient.so.15.0.0 conflicts between attempted installs of MySQL-shared-compat-5.0.20-0.rhel4 and MySQL-shared-standard-5.0.20-0.rhel4
        file /usr/lib/libmysqlclient_r.so.15.0.0 conflicts between attempted installs of MySQL-shared-compat-5.0.20-0.rhel4 and MySQL-shared-standard-5.0.20-0.rhel4

How to repeat:
See above.

Suggested fix:
Make the MySQL-shared-compat package not conflict with MySQL-shared-standard.
[21 Apr 2006 12:11] Valeriy Kravchuk
Thank you for a problem report. Sorry, but you siply do not need both these RPMs (MySQL-shared-compat-5.0.20-0.rhel4 and 
MySQL-shared-standard-5.0.20-0.rhel4) now. As it is clearly stated on the downloads page (http://dev.mysql.com/downloads/mysql/5.0.html):

"Shared compatibility libraries (3.23, 4.x, 5.x libs in same package)"

It is a description for http://dev.mysql.com/get/Downloads/MySQL-5.0/MySQL-shared-compat-5.0.20-0.rhel4.*.rpm.
[21 Apr 2006 20:24] Ask Hansen
Hi,

I suspected that'd be the answer.  I should have noted the "suggested fix" to "make the documentation more explicit that you only need the compat package".  :-)

"Shared compatibility libraries (3.23, 4.x, 5.x libs in same package)" makes it unclear if there is more than one version of the 5.x lib(s).

 - ask
[10 May 2006 19:13] Paul DuBois
The presence of 5.0/5.1 libraries in the shared-compat packages
was a bug, which has been fixed. (Bug#19288)

I've revised the Linux RPM page to make it clearer that you do not
install both the shared and shared-compat packages, and to indicate
more explicitly which libraries are included in the shared-compat
package:

http://dev.mysql.com/doc/refman/4.1/en/linux-rpm.html
http://dev.mysql.com/doc/refman/5.0/en/linux-rpm.html
http://dev.mysql.com/doc/refman/5.1/en/linux-rpm.html
[11 May 2006 6:48] Ask Hansen
Beautiful, thanks.