1833323 Members
3279 Online
110051 Solutions
New Discussion

help with depot creation

 
SOLVED
Go to solution
Roland Rebstock_1
Frequent Advisor

help with depot creation

All, im trying to create a depot. Ive ceated the psf, and ran the swpackage and it placed it all in /var/spool/sw. I thought I was done because I ran swinstall and pointed it to /var/spool/sw and it saw Proftpd. But it wasnt in depot format, just a DIR format. I have attempted to run swcopy but all I have got it to do for me is place all this stuff in another dir in /tmp.


# more proftpd.psf
#&##
#&## PSF generated by SPB 2/9/05 1:57 PM
#&##
# USIopenssh Product Specification File
#
# Built with the following command
# swpackage -v -s openssh.psf @ /depot/SECURITY-1100
#
product
tag Proftpd.depot
title "USi Proftpd for HP-UX 11.00"
revision 1.2.9
os_name HP-UX
is_locatable false
fileset
tag Proftpd
directory /opt/USIfreeware/proftpd = /opt/USIfreeware/proftpd
file *
end #&## fileset Proftpd
end #&## product Proftpd.depot
bsdos{root}:/tmp
5 REPLIES 5
John Payne_2
Honored Contributor
Solution

Re: help with depot creation

You have copied your package to a local depot, but the problem is likely that you have not registered the depot. (I don't 'think' it matters that you called it /var/spool/sw...)

swreg -l depot /var/spool/sw

This should allow you to connect to the remote machine and install.

John

Spoon!!!!
harry d brown jr
Honored Contributor

Re: help with depot creation


A dup to http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=810406 ??

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

Re: help with depot creation

Here is what I missed
swpackage -s /var/spool/sw -d /tmp/Proftpd.depot -x target_type=tape \*
Geoff Wild
Honored Contributor

Re: help with depot creation

And, Roland, " have assigned points to 2 of 94 responses to my questions. "

Please read:

http://forums1.itrc.hp.com/service/forums/helptips.do?#overview

Though the main reason for these forums is to help each other - awarding points also will let others determine if the solution(s) to your question helped or not.

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.
Biswajit Tripathy
Honored Contributor

Re: help with depot creation

BTW, depot not being in tar format is not really a
showstopper. I have created and installed from
depots in directory format for nearly a decade.
There should be no problem with the depot as long
as it's created by "swpackage" command.

- Biswajit
:-)