- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Packagin query
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2007 07:40 PM
10-10-2007 07:40 PM
I have a package which can be installed on PA as well as IA.
architecture HP-UX_B.11.23_IA/PA
The binaries will run using aries on IA systems.
Now I have to add a coreq for patch PHSS_35528 to this package.
I am not able to figure out how to do this. : (
Can I add it directly as a normal coreq and it will work. ( swinstall on PA will simply ignore the patch as it does not have anything for IA, and on IA the patch will be installed)
NOTE: both the patch and our package are present at same location
OR
Is there some Syntax to specify a coreq such that it comes only in effect when the package is being installedon an IA system.
Something like :
corequisite IA/PHSS_35528 OR corequisite PHSS_35528,IA
Thanks
Sri
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2007 08:15 PM
10-10-2007 08:15 PM
Re: Packagin query
It will work, even though it is for IA to install, it will not do any harm to the system to PA if this patch install.
WK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2007 09:53 PM
10-10-2007 09:53 PM
Re: Packagin query
I added the patch as a corequisite and tried to install the package on a PA system it failed with error as the dependency for the patch could not be resolved.
ERROR: "pa-hp-01:/": The software dependencies for 1 products or
filesets cannot be resolved.
Depot location had both the patch and my package. It simple ignored the patch as it is no ment for PA and gave the dependecy error.
What about the my second option Is there a syntax available to specify a dependency coupled with architechture?
Regards
Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2007 11:52 PM
10-10-2007 11:52 PM
Re: Packagin query
Do you know you really need that patch?
>Can I add it directly as a normal coreq and it will work?
No, as you found out on PA.
>Is there some Syntax to specify a coreq such that it comes only in effect when the package is being installedon an IA system. Something like:
corequisite IA/PHSS_35528 OR corequisite PHSS_35528,IA
Exactly, something like that. :-)
If you can take apart the linker patch, you'll see where I had to add a conditional dependency on Aries.
http://www2.itrc.hp.com/service/patch/patchDetail.do?patchid=PHSS_37201
I don't see in on the above link. I'll have to get it to you when I get to work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2007 02:04 AM
10-11-2007 02:04 AM
Re: Packagin query
Yes, I am sure that I need this patch for our PA binaries to run in emulation mode on IA.
I added this to the psf ( just copied stuf from the INDEX file of the patch you gave)
corequisites PHSS_35528,fa=HP-UX_B.11.31_IA
but its still not working :(, am I doing something wrong ?
Thanks
Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2007 02:20 AM
10-11-2007 02:20 AM
Re: Packagin query
corequisites PHSS_35528,fa=HP-UX_B.11.23_IA
and its not working :(.
I could not find any documentation to specify these kind of dependencies from Google. :(.
Dannis, Could you please point me to the related docs also?
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2007 02:21 AM
10-11-2007 02:21 AM
Re: Packagin query
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2007 10:26 AM
10-11-2007 10:26 AM
SolutionNaturally, I said "something like that". :-)
>I could not find any documentation to specify these kind of dependencies from Google. :(.
>Could you please point me to the related docs also?
I couldn't find it last night. I don't think there is any external documentation with that info.
corequisite PHSS_35528.CORE2-SHLIBS,fa=HP-UX_B.11.23_IA | OS-Core.CORE2-KRN,fa=HP-UX_B.11.23_PA
The above should be one long line:
corequisite A | B
Where OS-Core.CORE2-KRN,fa=HP-UX_B.11.23_PA is the official "dummy" entry for PA. And similarly for _IA. This fileset is always there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2007 04:40 PM
10-11-2007 04:40 PM
Re: Packagin query
It is working for PA system I have not tested it on a IA machine though. But looking at the technique followed I am sure it will work on IA as well.
What would you say about using OS-Core.CORE-KRN Instead of OS-Core.CORE2-KRN ?
In other words, are there any specific reasons to choose OS-Core.CORE2-KRN and NOT OS-Core.CORE-KRN?
Thanks
Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2007 08:21 AM
10-12-2007 08:21 AM
Re: Packagin query
>In other words, are there any specific reasons to choose OS-Core.CORE2-KRN
Because that is what the internal document says to use. And even after we used that where were warnings from our patch tools. So that fileset may be hardcoded to fix that new issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2007 02:51 PM
10-14-2007 02:51 PM
Re: Packagin query
# PHSS_36311 1.0 Aries cumulative patch
PHSS_36311.CORE2-64SLIB 1.0 OS-Core.CORE2-64SLIB
PHSS_36311.CORE2-SHLIBS 1.0 OS-Core.CORE2-SHLIBS
bash-2.05#
ours is a 32 bit application, so I think that installaing PHSS_36311.CORE2-SHLIBS 1.0 OS-Core.CORE2-SHLIBS will be sufficient.
IS there any possibility that 64 bit libs will be required(I know the answer is no)
but am I not sure if aries would need them in some case.
Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2007 11:03 PM
10-14-2007 11:03 PM
Re: Packagin query
No, you should install the complete patch.
>IS there any possibility that 64 bit libs will be required (I know the answer is no)
You shouldn't try to nickel and dime patches, just install all of PHSS_35528 or PHSS_36311 and don't worry about the corequisite only depending on 32 bit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2007 12:46 AM
10-15-2007 12:46 AM
Re: Packagin query
corequisite PHSS_35528.CORE2-SHLIBS,fa=HP-UX_B.11.23_IA | OS-Core.CORE2-KRN,fa=HP-UX_B.11.23_PA
(for 11.31 systems I have added patch PHSS_36311, Rest of the post refers 11.23 only)
Should I add PHSS_35528.CORE2-64SLIB also as a corequisite or only one corequisite tag is sufficient? SD automatically selects and installs PHSS_35528.CORE2-64SLIB even if I specify only CORE2-SHLIBS.
I have never used a IA machine with 32 bit OS, do they exist? if yes, can both the filesets ( SHLIBS and 64SLIB) installed on that 32 bit system.
Note that I can not specify the corequisite as:
corequisite PHSS_35528 | a=HP-UX_B.11.23_IA | OS-Core.CORE2-KRN,fa=HP-UX_B.11.23_PA
I have to specify the fileset and not the patch as a coreq.
If I enforce both the filesets in two coreq specs
like :
corequisite PHSS_35528.CORE2-SHLIBS,fa=HP-UX_B.11.23_IA | OS-Core.CORE2-KRN,fa=HP-UX_B.11.23_PA
corequisite PHSS_35528.CORE2-64SHLIB,fa=HP-UX_B.11.23_IA | OS-Core.CORE2-KRN,fa=HP-UX_B.11.23_PA
Will the package install on a 32 bit IA system? or will there be a problem as I am trying to enforce a 64 bit fileset on a 32 bit machine.
Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2007 03:56 AM
10-15-2007 03:56 AM
Re: Packagin query
Which method of specifying coreqs is the best for this patch
1) Leave the patch installation to SD and add only one fileset as coreq to psf file
corequisite PHSS_35528.CORE2-SHLIBS,fa=HP-UX_B.11.23_IA | OS-Core.CORE2-KRN,fa=HP-UX_B.11.23_PA
This atomatically selects the other fileset
2) Enforce full patch installation and add both the filesets as coreqs to psf file
corequisite PHSS_35528.CORE2-SHLIBS,fa=HP-UX_B.11.23_IA | OS-Core.CORE2-KRN,fa=HP-UX_B.11.23_PA
corequisite PHSS_35528.CORE2-64SHLIB,fa=HP-UX_B.11.23_IA | OS-Core.CORE2-KRN,fa=HP-UX_B.11.23_PA
Both methods leave the system in same state(both patch filesets installed)
Thanks
Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2007 02:58 PM
10-15-2007 02:58 PM
Re: Packagin query
I wouldn't worry about it. That's what the linker has. You can check that by:
swlist -a prerequisite -a corequisite -l fileset -s $PWD/PHSS_37201.depot
It shows:
PHSS_37201.CORE-SHLIBS PHSS_35045.CORE2-SHLIBS,fa=HP-UX_B.11.23_IA | OS-Core.CORE2-KRN,fa=HP-UX_B.11.23_PA
>I have never used a IA machine with 32 bit OS, do they exist?
No, all new HP-UX versions on 11.23 and later are 64 bit.
>I have to specify the fileset and not the patch as a coreq.
That's probably why it is that way in the linker patch.
>If I enforce both the filesets in two coreq specs like:
corequisite PHSS_35528.CORE2-SHLIBS,fa=HP-UX_B.11.23_IA | OS-Core.CORE2-KRN,fa=HP-UX_B.11.23_PA
Yes, you could do that.
>Which method of specifying coreqs is the best for this patch
>1) Leave the patch installation to SD and add only one fileset as coreq to psf file
corequisite PHSS_35528.CORE2-SHLIBS,fa=HP-UX_B.11.23_IA | OS-Core.CORE2-KRN,fa=HP-UX_B.11.23_PA
>This automatically selects the other fileset
This is the key point.
>Both methods leave the system in same state (both patch filesets installed)
Using 1) seems easiest.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2007 04:59 AM
10-16-2007 04:59 AM
Re: Packagin query
Thanks for your help Dennis.
Sri