Bug #38549 HP-UX depot package incompatible between different HP-UX 11.* versions
Submitted: 4 Aug 2008 21:03 Modified: 18 Mar 2010 14:14
Reporter: Timothy Smith Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Packaging Severity:S3 (Non-critical)
Version:5.0 (all) OS:HP/UX
Assigned to: CPU Architecture:Any

[4 Aug 2008 21:03] Timothy Smith
Description:
The MySQL HP-UX .depot packages for one OS release won't install by default on another OS release within the same OS family, even though the actual binaries are compatible and can run just fine.

For example, when trying to install an 11.23 .depot package under 11.31:

# swinstall -s /var/tmp/mysql.depot -v '*.*'
ERROR:   Could not apply the software selection
         "mysql-enterprise-gpl.all" because there are no product
         variations that are compatible with the destination host(s).

A workaround is to use:

# swinstall -x allow_incompatible=true ...

How to repeat:
See Description.

Suggested fix:
For a workaround, see Description.

It appears that the correct fix is to use "?.11.*" for the os_release attribute of the .psf file when creating the .depot file.  That is, instead of "?.11.2?" or what have you.  Perhaps instead of "*", a more specific pattern like "[2-9]?" would be more accurate.