Operating System - HP-UX
1834499 Members
2514 Online
110068 Solutions
New Discussion

Created the package - how to depot?

 
Roland Rebstock_1
Frequent Advisor

Created the package - how to depot?

All, Ive been attempting to create a depot and got to the point that a package under /var/spool/sw/proftpd has been created but how do I turn this into a depot that I can install into another server?

swinstall recongnizes the software when I specify /var/spool/sw but its not in a depot format
8 REPLIES 8
harry d brown jr
Honored Contributor

Re: Created the package - how to depot?

swcopy

live free or die
harry d brown jr
Live Free or Die
Roland Rebstock_1
Frequent Advisor

Re: Created the package - how to depot?

i did the swcopy but it did not create the depot?
harry d brown jr
Honored Contributor

Re: Created the package - how to depot?

http://www.software.hp.com/products/SD_AT_HP/docs/cookbook.html

live free or die
harry d brown jr
Live Free or Die
Roland Rebstock_1
Frequent Advisor

Re: Created the package - how to depot?

im getting this but it doesnt seem to be giving me what I would expect. Im attempting to take this package in /var/spool/sw Proftpd and turn it into a depot but when doing the swcopy and specify it to goto /tmp it just copies the data in the same format as whats in /var/spool/sw so in /tmp i get a Proftpd DIR and all the subdirs and its doesnt appear to be a depot. Normally the depots I see are all in 1 file *.depot and its not DIR.

Geoff Wild
Honored Contributor

Re: Created the package - how to depot?

Like this:

First step, copy depot into location:

swcopy -s /usr/local/src/T1471AA_A.03.81.002_HP-UX_B.11.11_32+64.depot \* @ /var/software/SSH/

Step 2, register the depot:

swreg -l depot /var/software/SSH/

Step 3, list depots:

swlist -l depot

Step 4, on remote server, install software:

swinstall -x autoreboot=true -s sha1:/var/software/SSH \* @`uname -n`

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
harry d brown jr
Honored Contributor

Re: Created the package - how to depot?

Robert Salter
Respected Contributor

Re: Created the package - how to depot?

How did you make your package? Cause it sounds like you made your depot in the process. Do as Geoff suggests to install it on another server over your network, or you could use 'shar' to make it one "depot" file, do a man on 'shar'.
Time to smoke and joke
Roland Rebstock_1
Frequent Advisor

Re: Created the package - how to depot?

I forgot to swreg.