- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Packaging Patch Software
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
11-20-2003 01:49 AM
11-20-2003 01:49 AM
Packaging Patch Software
when i am trying to create a depot file using
swpackage as normal user i am getting this error
ERROR: Cannot create the target depot
"/home/sixto/sixtowork/seem.depot": permission denied. You
are not authorized to create a new target depot on the local
host. (An authorized user must grant you authorization by
using the swacl command.)
rgds
Dsilva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2003 01:53 AM
11-20-2003 01:53 AM
Re: Packaging Patch Software
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2003 01:56 AM
11-20-2003 01:56 AM
Re: Packaging Patch Software
When you say you're packaging patch software, do you mean that you're trying to accumulate several HP patches together? If so, the command you want is swcopy not swpackage. If not, disregard.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2003 02:03 AM
11-20-2003 02:03 AM
Re: Packaging Patch Software
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2003 02:05 AM
11-20-2003 02:05 AM
Re: Packaging Patch Software
Thanks for mail.
I am trying to create a depot file using swpackage.
but the problem is when i login as root it will create the depot, but as a normal user it will give the above error
Yes i want also to know a packaging of patch software is done in hp-ux using swpackage
if known put let me know the detail explaination or any example where i can get idea.
I have gone through manual also
cheers
dsilva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2003 02:09 AM
11-20-2003 02:09 AM
Re: Packaging Patch Software
can be more specific
for i in PH*
do
sh $i
done
for i in PH*.depot
do
swcopy -s ${PWD}/$i \* @ ${1}
done
I could not follow the above script
I am very new to this packaging area
regards
dsilva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2003 02:11 AM
11-20-2003 02:11 AM
Re: Packaging Patch Software
I tried to restart the daemon, but the same problem exists
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2003 04:44 PM
11-20-2003 04:44 PM
Re: Packaging Patch Software
Below are the step by step procedure to create a depot patch and/or using swpackage, i've been usign thsi method all along
1) First you need to un-shar the patch, for thsi exmaple I put my patch under "/lv_cut_patch/jacko" directory:
For example:
# cd /lv_cut_patch/jacko
# sh PHCO_28346
# sh PHCO_29043
the above will produce two sets of:
PHXX_#####.depot and
PHXX_#####.text
2) Next would be to swcopy them, for the above two patches i need to run these swcopy twice, you could use the script above for this mentioned above, but this is just an outline of the steps required:
swcopy -x distribution_target_directory=/lv_cut_patch/jacko/depot -x enforce_dependencies=false -s /lv_cut_patch/jacko/PHCO_28346.depot \*
swcopy -x distribution_target_directory=/lv_cut_patch/jacko/depot -x enforce_dependencies=false -s /lv_cut_patch/jacko/PHCO_29043.depot \*
The above will take the two patch PHCO_28346
and PHCO_29043, and put them in a depot under "/lv_cut_patch/jacko/depot"
you could simply change the above directory to the one in yoru system.
and you could omit
"-x enforce_dependencies=false" if you require the dependencies to be checked
3) And finally to package the patch into a tape you could use this command for example:
# swpackage -s /lv_cut_patch/jacko/depot -d /dev/rmt/0m -x target_type=tape
4) To install from the patch from tape, for example you codul use this command:
# swinstall -s /dev/rmt/0m
5) proceed with normal installation
May you find it useful.
cheers...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2003 06:15 PM
11-20-2003 06:15 PM
Re: Packaging Patch Software
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2003 07:11 AM
11-21-2003 07:11 AM
Re: Packaging Patch Software
Use swacl to modify the ACL for the host level. This should allow you to create depots.
Hope this helps,
Bruce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2003 07:31 AM
11-21-2003 07:31 AM
Re: Packaging Patch Software
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2003 07:51 AM
11-21-2003 07:51 AM
Re: Packaging Patch Software
swcopy -x run_as_superuser=false
This will do it as your user and the permisions will be based on your user and user's umask.
I'm not sure if it works the same w/ swpakage... would have to try it out.
# man 5 sd -> search for "run_as_superuser" for details
hope this helps,
-denver