Operating System - HP-UX
1834449 Members
2519 Online
110067 Solutions
New Discussion

copying installed software to a depot

 
SOLVED
Go to solution
Eileen Millen
Trusted Contributor

copying installed software to a depot

I heard that there is a way to copy software that is already installed in a system to a depot. Some of our older systems have products that we cannot find in our depots.
Does anyone know how to copy installed software to a depot, or know where I might find information?

Thanks,
Eileen
4 REPLIES 4
Mark Mitchell
Trusted Contributor

Re: copying installed software to a depot

i would start with a man on swcopy

boley janowski
Trusted Contributor

Re: copying installed software to a depot

i dont believe you can, i've tried this in the past and ran into the same road blocks.
Manju Kampli
Trusted Contributor

Re: copying installed software to a depot

Eileen,

You can not copy the installed software in to a depot. This option is currently.not available.

Hope this Helps
Manju
Never stop "LEARNING"
Vincent Stedema
Esteemed Contributor
Solution

Re: copying installed software to a depot

Eileen,

If you want to copy software into a depot, you need a so called PSF (Product Specification File) that describes which files are to be included in the depot. PSF's are not included in a depot which is why it will be very difficult to recreate a depot if you don't have the PSF for it.

What you want can be done, but you'll have to create your own PSF for the installed software.
I can only give you a few hints:

- read the PSF man page: swpackage(4)
- determine the filesets in your product:
swlist -l product -l fileset
- determine the files per fileset:
swlist -l fileset -l file
- Maybe the depot has information (configure and/or unconfigure scripts) stored in /var/adm/sw/product.
- Take a look at the man page for swpackage(1m) to learn how to build a depot from a PSF.

Hope this helps.

Vincent