Bug 226681 - Wrong package included with distribution
Wrong package included with distribution
Status: CLOSED NOTABUG
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: releng (Show other bugs)
5.0
x86_64 Linux
medium Severity high
: rc
: ---
Assigned To: Daniel Mach
Release Test Team
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-01-31 17:08 EST by George Toft
Modified: 2011-01-04 10:28 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-01-04 10:28:04 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description George Toft 2007-01-31 17:08:24 EST
Description of problem:
mysql-5.0.22-2.1.i386.rpm is included with x86_64 distro - it should have been
mysql-5.0.22-2.1.x86_64.rpm.  This causes library dependency errors when trying
to install PHP.


Version-Release number of selected component (if applicable):
RHEL5 public beta 2
mysql-5.0.22


How reproducible:
Always


Steps to Reproduce:
[root@rhel5xen1 php]# rpm -ivh mysql-5.0.22-2.1.i386.rpm
perl-DBI-1.52-1.fc6.x86_64.rpm
warning: mysql-5.0.22-2.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 897da07a
Preparing...                ########################################### [100%]
   1:perl-DBI               ########################################### [ 50%]
   2:mysql                  ########################################### [100%]
[root@rhel5xen1 php]# updatedb
[root@rhel5xen1 php]# locate libmysqlclient.so.15
/usr/lib/mysql/libmysqlclient.so.15
/usr/lib/mysql/libmysqlclient.so.15.0.0
[root@rhel5xen1 php]# rpm -ivh php-mysql-5.1.6-3.x86_64.rpm
php-pdo-5.1.6-3.x86_64.rpm
warning: php-mysql-5.1.6-3.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID
897da07a
error: Failed dependencies:
        libmysqlclient.so.15()(64bit) is needed by php-mysql-5.1.6-3.x86_64
        libmysqlclient.so.15(libmysqlclient_15)(64bit) is needed by
php-mysql-5.1.6-3.x86_64
[root@rhel5xen1 php]#


  
Actual results:
See above


Expected results:
[root@rhel5xen1 php]# rpm -ivh mysql-5.0.22-2.1.x86_64.rpm
warning: mysql-5.0.22-2.1.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID
4f2a6fd2
Preparing...                ########################################### [100%]
   1:mysql                  ########################################### [100%]
[root@rhel5xen1 php]# rpm -ivh php-mysql-5.1.6-3.x86_64.rpm
php-pdo-5.1.6-3.x86_64.rpm
warning: php-mysql-5.1.6-3.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID
897da07a
Preparing...                ########################################### [100%]
   1:php-pdo                ########################################### [ 50%]
   2:php-mysql              ########################################### [100%]


Additional info:
The above expected results were obtained after installing the FC6 mysql package
instead of the RHEL5 package.
Comment 1 Tom Lane 2007-01-31 17:38:14 EST
The x86_64 distro typically includes *both* sets of libraries, so that you can
run either 32 or 64-bit applications.  Are you sure this is a bug?
Comment 2 George Toft 2007-02-01 12:21:43 EST
Just to be sure, I installed the package that came on the RHEL5 Public Beta 2 
CD and asked what it provides:
[root@rhel5xen2 php]# rpm -q --provides mysql
config(mysql) = 5.0.22-2.1
libmysqlclient.so.15
libmysqlclient.so.15(libmysqlclient_15)
libmysqlclient_r.so.15
libmysqlclient_r.so.15(libmysqlclient_15)
mysql = 5.0.22-2.1
[root@rhel5xen2 php]#


Then I removed it and installed the package from FC6:
[root@rhel5xen2 php]# rpm -ivh mysql-5.0.22-2.1.x86_64.rpm
warning: mysql-5.0.22-2.1.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 
4f2a6fd2
Preparing...                ########################################### [100%]
   1:mysql                  ########################################### [100%]
[root@rhel5xen2 php]# rpm -q --provides mysql
config(mysql) = 5.0.22-2.1
libmysqlclient.so.15()(64bit)
libmysqlclient.so.15(libmysqlclient_15)(64bit)
libmysqlclient_r.so.15()(64bit)
libmysqlclient_r.so.15(libmysqlclient_15)(64bit)
mysql = 5.0.22-2.1
[root@rhel5xen2 php]#


The package includede in the RHEL5 PB2 x86_64 version does not have the 64 bit 
libraries for mysql client.

Perhaps this is was fixed in RC1?
Comment 3 George Toft 2007-02-01 12:24:46 EST
I just noticed our CD was "pre-Beta2" not "pub-Beta2"  This may affect the 
outcome.
Comment 4 Tom Lane 2007-02-01 20:22:52 EST
Hm ... well, if it is wrong, it's a rel-eng mistake not mine.  Bouncing over to
the appropriate component to see if the folks in charge of assembling the bits
think it's wrong ...
Comment 5 Daniel Mach 2011-01-04 10:28:04 EST
I believe it's not a bug, definitely not in the latest RHEL 5.6 Snapshot, which contains both i386 and x86_64 rpms:
mysql-5.0.77-4.el5_5.4.i386.rpm
mysql-5.0.77-4.el5_5.4.x86_64.rpm

Testing didn't reveal any problems during installation, closing NOTABUG.

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