Bug #45534 | Vendor name change breaks RPM upgrades | ||
---|---|---|---|
Submitted: | 16 Jun 2009 17:02 | Modified: | 10 Aug 2009 22:53 |
Reporter: | Matthew Lord | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Packaging | Severity: | S2 (Serious) |
Version: | 5.0.82 | OS: | Linux (RPM based distros) |
Assigned to: | Joerg Bruehe | CPU Architecture: | Any |
[16 Jun 2009 17:02]
Matthew Lord
[17 Jun 2009 9:54]
A P
The same for 5.0.83
[17 Jun 2009 23:24]
Roel Van de Paar
Also see bug #42953
[15 Jul 2009 6:42]
Sveta Smirnova
Bug #46174 was marked as duplicate of this one.
[29 Jul 2009 20:34]
Joerg Bruehe
When the "vendor" was changed from "MySQL AB" to "Sun Microsystems", it was forgotten to accept the old vendor for upgrading. The "generic" RPMs (which are built from other spec files, and only for community configurations) had their code expanded to accept the old vendor, but the "specific" ones (for specific SuSE and RedHat versions) did not receive this expansion in their spec files. I am currently adding this code and building a new RPM to verify it works. Bugs #42953 and #46174 seem to be about the same problem.
[30 Jul 2009 17:50]
Joerg Bruehe
Jonathan approved of the patch via IRC.
[30 Jul 2009 18:00]
Joerg Bruehe
The patch is pushed to our build environment, it will take effect in any build of 5.0 (starting from 5.0.85) and 5.1 (starting from 5.1.38). It fixes this bug#45534 and its duplicates, #42953 and #46174. Our server RPMs will continue to not allow upgrading RPMs that provide "mysql-server" ("provide" meaning the RPM header field) and have a different "vendor" (also a RPM header field) than "Sun Microsystems", but they will now allow upgrading those from "MySQL AB" (the vendor before we changed it because of the acquisition by Sun). As written in my yesterday's comment, the "generic" RPMs (those for the community, not targeted specifically at RHEL or SLES) were never affected by this issue.
[10 Aug 2009 22:53]
Paul DuBois
Note in 5.0.85, 5.1.38, 5.4.4 changelogs. The vendor name change from MySQL AB to Sun Microsystems, Inc. in RPM packages was not handled gracefully when upgrading MySQL using an RPM package.
[7 Oct 2009 18:32]
Paul DuBois
The 5.4 fix has been pushed to 5.4.2.