- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- consolidate many individual depots into one depot
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
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
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
тАО02-26-2003 08:14 PM
тАО02-26-2003 08:14 PM
consolidate many individual depots into one depot
I have many individual software depots. Please tell the commands and procedure to combine them into one big depot file.
Rgds,
Yan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2003 08:23 PM
тАО02-26-2003 08:23 PM
Re: consolidate many individual depots into one depot
Here's an older script that HP had:
------------------------------------------
Below is an example of a non-interactive script.
Warning: This script is not supported.
Essentially, the swcopy file in simple english does these thing:
-s = the source depot file
-x = special options, here I turn off the enforce dependencies
\* = everything in the depot file
@ = right before the destination depot I'm creating
!/usr/bin/sh
# Combines seperate depot files into a depot under this directory
# swcopy -s /tmp/PATCH1_NAME.depot PATCH1_NAME @ /tmp/patch_depot
tohere="/home/root/tmp/patch_download/patch_downloads"
for thedepot in *depot
do
swcopy -s "$tohere/$thedepot" -x enforce_dependencies=false \* @
"$tohere/m31abggd_patch_depot"
done
--------------------------
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2003 08:51 PM
тАО02-26-2003 08:51 PM
Re: consolidate many individual depots into one depot
swcopy -s {source depot1} \* @ {target depot}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2003 09:09 PM
тАО02-26-2003 09:09 PM
Re: consolidate many individual depots into one depot
Here is a step by step procedure to combine all depots into one:
HP patches as delivered by the Response Center or the HP Web site are shar files consisting of a product depot and README file.
1.Copy your patches into a separate directory.
2. Unshar the patches by typing these line:
#cd /patch_directory
#for i in PH*
do
sh $i
done
3.Combine all these separate depots into one depot.
To do this, use the swcopy command. First, create the directory to store the patches:
#mkdir /tmp/patch_depot (or where ever you wish)
4.Now take the patch depots and copy them into the target depot by typing these lines:
#for i in PH*.depot
do
swcopy -x enforce_dependencies=false -x mount_all_filessystems=false -s ${PWD} /$i \* @ /tmp/patch_depot
done
5. Check /var/adm/sw/swagent.log and swcopy.log if you recieve any errors.
6. To verify the contents of the depot:
#swlist -d @ /tmp/patch_depot
6. Now install them
#swinstall -s /tmp/patch_depot
This proc. was received from HP and I did it successfully.
Hope this help.
Good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2003 03:52 PM
тАО02-27-2003 03:52 PM