Operating System - HP-UX
1832510 Members
4639 Online
110043 Solutions
New Discussion

Swinstall Can't Find Depot

 
SOLVED
Go to solution
Scott Buckingham
Regular Advisor

Swinstall Can't Find Depot

I've downloaded the latest and greatest version of STM for HP-UX 11.00 and I've copied the depot file into /var/spool/sw. However, when I try to install it through the swinstall program (swinstall -s /var/spool/sw), I receive this message:
"There is currently no depot software on host "hostname" at location /var/spool/sw"
How come?
Long time dabbler, first time Admin / DBA
6 REPLIES 6
harry d brown jr
Honored Contributor
Solution

Re: Swinstall Can't Find Depot

Easiest way:

swinstall -s /var/spool/sw/DEPOTNAME

live free or die
harry
Live Free or Die
Steven E. Protter
Exalted Contributor

Re: Swinstall Can't Find Depot

swinstall -s /full_path_of_stm.depot \*

You need to tell swinstall not where its going but where its coming from

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
RAC_1
Honored Contributor

Re: Swinstall Can't Find Depot

swagentd -r
swinstall -s hostname:/var/spool/sw/depot_name

Anil
There is no substitute to HARDWORK
Jeroen Peereboom
Honored Contributor

Re: Swinstall Can't Find Depot

As said by the others, use swinstall -s .

You copied the depot file? What do you mean by that? Usually /var/spool/sw is a depot containing software, so not containing depot-files. A depot file is a depot in itself.

Try and move your STM-depot-file from /var/spool/sw to a file in a different location, e.g. /tmp/stm.depot and then run swinstall -s /tmp/stm.depot.

Another possibility, but I think the error message is different in that case: the depot contains no software suitable for the HW and SW version of your system.

JP.
Scott Buckingham
Regular Advisor

Re: Swinstall Can't Find Depot

Thanks to one and all! I was expecting swinstall to provide me with a list of depot files so I could select which one I wanted.

Harry gets the 10 points for being the first responder, everyone else gets 9's though!

Thanks again!
Long time dabbler, first time Admin / DBA
Matti_Kurkela
Honored Contributor

Re: Swinstall Can't Find Depot

"...downloaded the latest and greatest version of STM..."

I take it you have the depot in the form of a single .depot file?

That is a so-called "tape depot". You can install it locally, but you can't do remote installs from it unless you convert it to a "directory depot" with swcopy.

To install a tape depot locally (which you seem to be trying to do) the command should have the full pathname of the .depot file, _with the filename included_. Like this:
swinstall -s /path/to/latest_and_greatest/STM.depot

You could also go to the swinstall UI, pick "Change Source", select "Local Tape" and enter the full path to the .depot file as the device name. Not exactly intuitive, but it works.
MK