- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Repackaging SD-UX depots
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
Forums
Discussions
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
05-16-2001 11:20 AM
05-16-2001 11:20 AM
Repackaging SD-UX depots
Depot1 has ProductA,revision1 with FilesetA,revision1.
Depot2 has ProductA,revision2 with FilesetB,revision1.
I want to end up with:
Depot3 with ProductA,revision2 with FilesetA,revision1.
and ProductA,revision2 with FilesetB,revision1.
Thanks in advance,
Duncan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2001 09:46 PM
05-16-2001 09:46 PM
Re: Repackaging SD-UX depots
I believe the easiest way to merge the 2 depots with the products, fileset and revisions you want would be to use the interactive GUI "swcopy". Select a new target /depot3 where you will put the products you want to keep. Select the source depot (depot1) and then select the exactly what you want to copy into depot3 (probably have to drill down and hopefully no dependencies are involved). Once this is done, then change your source to /depot2 and select the software you want to copy into /depot3
Hope this is ok. I don't want to offend you if you've already tried this and it failed for some reason. There are manual commands as well, but I'm not familiar with going down to revision level when using the command line interface.
Hope this helps.
Peggy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2001 10:47 PM
05-16-2001 10:47 PM
Re: Repackaging SD-UX depots
Peggy's right: go with swcopy. To put the filesets into one depot directory:
swcopy -s /path/to/depot1.depot depot1.filesetA @ /dir/to/merged/depot
swcopy -s /path/to/depot2.depot depot2.filesetB @ /path/to/merged/depot
Then, repackage the depot with swpackage:
swpackage -v -s /path/to/merged/depot -x media_type=tape \* @ /home/duncan/depot3.depot
I've never actually tried re-packaging depots from different sources, so I'm not sure if the swpackage will succeed, but you might want to give it a try.
Hope this helps.
Vincent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2001 12:12 AM
05-17-2001 12:12 AM
Re: Repackaging SD-UX depots
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2001 12:38 PM
05-17-2001 12:38 PM
Re: Repackaging SD-UX depots
I've found out what I need to do. The command I needed to use was:
swmodify but that can't change product revision numbers so you have
to edit depot_dir/catalog/INDEX. You need to change the first line
that has "revision" in it.
Easy when you know how.
Duncan