Operating System - HP-UX
1830899 Members
3447 Online
110017 Solutions
New Discussion

How to install a depot file

 
SOLVED
Go to solution
Don Spare
Regular Advisor

How to install a depot file

I have downloaded a .depot file to install the Nagios client on my HP-UX 11.0 servers. My problem is that SAM does not recognize this file as 'installable'. So I guess I'm missing a step somewhere to convert this to a properly installable depot. How do I do that?

Don
5 REPLIES 5
Prashant Zanwar_4
Respected Contributor

Re: How to install a depot file

What happens if you try swcopy on it.

swcopy -x options(enforce_dendencies=false)-s /path_to_depot_file @ path_to_depot.

This shall create a depot for you on specified target path. then

swinstall -s path_to_depot

Hope this helps
Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
Zygmunt Krawczyk
Honored Contributor

Re: How to install a depot file

Hi Don,

swinstall -s full_path_and_name_of_depot

Regards,
Zygmunt
Geoff Wild
Honored Contributor

Re: How to install a depot file

What happens if you do this:

swinstall -s /path/to/depot/depotfilename

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.
Pete Randall
Outstanding Contributor

Re: How to install a depot file

Don,

Typically, depending on where you got the file from and how it was prepared, you have to unshar the file first. Like this:


sh depot_name

That should give you a depot_name.depot file and a depot_name.text file. Use swinstall specifying the depot_name.depot file as source:

swinstall -s depot_name.depot


Pete

Pete
Victor BERRIDGE
Honored Contributor
Solution

Re: How to install a depot file

Hi Don,
the easiest way is if you are in X environment use the GUI, type swinstall&

Then give the filename with full path

then its just clicks...(obvious)

if it doesnt show up check again the extension you may have a depot.gz
which need to be gunziped

All the best
Victor