Operating System - HP-UX
1834744 Members
2843 Online
110070 Solutions
New Discussion

swinstall/swpackage psf???

 
SOLVED
Go to solution
Vic S. Kelan
Regular Advisor

swinstall/swpackage psf???

I am sorry I have to post this as I guess another post might have addressed part of this but I am still searching and under some time constraint.

I have a tar file that I want to use and install APA on my server. I untared it and got the following files:
drwx------ 4 bin bin 96 May 3 15:46 HP-APA-FMT
drwx------ 4 bin bin 96 May 3 15:46 HP-APA-KRN
drwx------ 4 bin bin 96 May 3 15:46 HP-APA-LM
drwx------ 6 bin bin 96 May 3 15:46 HP-APA-RUN
drwx------ 4 bin bin 96 May 3 15:46 HP-APA-SAM
-rwx------ 1 root sys 1710080 May 3 15:33 J4240AA.tar
drwx------ 8 root sys 1024 May 3 15:46 catalog

I am trying to swinstall it and a bit lost at the moment as to what steps I need to take to make swinstall understand this as an install depot? package?
Thanks for your quick response!
4 REPLIES 4
Jeff_Traigle
Honored Contributor

Re: swinstall/swpackage psf???

What did you try?

If you extracted it in /var/spool/sw, you should be able to simply do

swinstall

to start an interactive session.

If you extracted it somwhere else, you probably need to register the location of the depot before running swinstall.

swreg -l depot /depot/path
swinstall -s /depot/path
--
Jeff Traigle
Mel Burslan
Honored Contributor
Solution

Re: swinstall/swpackage psf???

I think your tar file is/was a depot by itself.

just run

swintall -s /directory/subdirectory/myfile.tar

and see if it can find a depot in this file.

HTH
________________________________
UNIX because I majored in cryptology...
Steven E. Protter
Exalted Contributor

Re: swinstall/swpackage psf???

Shalom,

Assuming you are in the directory that is the depot.

swinstall -x autoreboot=true -s $PWD \*

This will install the depot and if called on boot the machine.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Vic S. Kelan
Regular Advisor

Re: swinstall/swpackage psf???

Thanks all!
Mel u were correct the tar file WAS a depot on its own!
)-;