- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Need help in patch creation
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
06-02-2008 04:27 AM
06-02-2008 04:27 AM
Hi HP-Experts,
One of the perl related library we have shipped as GA and now we want to patch it. We are creating the patch but it is not installing on the GA version. There were some problems related to some field in GA version. I am pasting the 'swlist -v' output for fileset:
============================================
fileset
tag library
software_spec CYPerl.library,r=5.0.00.0,v=Cyneta
data_model_revision 2.40
instance_id 1
control_directory library
size 420603
revision 5.0.00.0
title CYServer Perl library by Cyneta
description
mod_date Tue May 27 17:36:45 IST 2008
mod_time 1211890005
create_date Tue May 27 17:36:43 IST 2008
create_time 1211890003
architecture
machine_type
os_name
os_release
os_version
is_patch false
supersedes
category_tag
state available
is_kernel false
is_reboot false
is_packaged_in_place false
is_secure false
ancestor
media_sequence_number
partial_file
partial_pipe_size
partial_state_path
is_sparse false
is_locatable
location
dynamic_module
is_drd_safe
===============================================
Now for patch, my psf is as follows:
=======================================
vendor
tag Cyneta
title Cyneta Networks
description CYServer Perl library from Cyneta
end
product
tag PCCO_03812
title "CYServer Perl library by Cyneta"
description < description.product
revision 1.0
os_name HP-UX
os_release B.11.23
os_version *
architecture HP-UX_B.11.23_IA/PA
machine_type *
directory /opt
is_locatable true
is_patch true
vendor_tag Cyneta
fileset
tag CYLIBRARY
title "Cyneta Connection Server Perl library"
architecture HP-UX_B.11.23_IA/PA
os_name HP-UX
os_release B.11.23
os_version *
revision 1.0
machine_type *
is_patch true
ancestor CYPerl.library,r=5.0.00.0,v=Cyneta
# Files
file_permissions -m 500 -o root -g sys
....
....
....
end
end
==========================================
Though ancesotor in patch is matching to the GA package, when I install the patch on GA, it gives me dependency error. It says "CYPerl.library,r=5.0.00.0,v=Cyneta" is not installed on the machine.
Please help.
Thanks in Advance !!
Best Regards,
Tarun
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2008 04:57 AM
06-02-2008 04:57 AM
Re: Need help in patch creation
ancestor CYPerl.library,r=5.0.00.0,v=Cyneta
and the patch is looking for that product, installed on system.
See more for ancestors - http://docs.hp.com/en/5992-0674/ch03s03.html
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2008 05:27 AM
06-02-2008 05:27 AM
Re: Need help in patch creation
Original: CYPerl.library,r=5.0.00.0,v=Cyneta
I don't see one for your patch?
ancestor CYPerl.library,r=5.0.00.0,v=Cyneta
Also, your patch has info about a bunch of fields that don't seem to be filled in in the product: os_name ...
As Ivan's document mentions, the name of the two filesets must match, be "library".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2008 02:23 PM
06-03-2008 02:23 PM
SolutionThat said, the critical attributes for a patch are ancestor, is_patch, and is_sparse. Be sure to set is_sparse to true in your final patch. By convention a "category_tag" attribute is set to the value "patch".
I see enough oddities in the original product that I am kind of curious how this all works out. The four attributes that control product behavior (machine_type, os_version, os_release, and os_name) were all kept blank. While the patch looks "better", you might try once breaking the patch to match the broken product.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2008 05:10 AM
06-06-2008 05:10 AM
Re: Need help in patch creation
So, as Bob mentioned, I have tried with faulty patch like GA, without ARCH, mach_type, os_version etc. It worked !!
Thanks all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2008 06:52 AM
06-06-2008 06:52 AM
Re: Need help in patch creation
I do recommend that the next time a product is packaged you consider fixing up all the attributes. While it does not help with patches the Software Package Builder can do wonders with products and bundles.
http://docs.hp.com/en/5990-6771/ch01s01.html?jumpid=reg_R1002_USEN