1827728 Members
2680 Online
109968 Solutions
New Discussion

Re: Software Depot

 
Don Clayton
Occasional Contributor

Software Depot

How do I create a software depot? I want to install Ignite on 10.20. When I run "swlist -l depot" the response is "WARNING: No depot was found for ". All of the documentation I find talks around the depot but not creating it. I manually created the /var/spool/sw directory but there is another step that I seem to be missing.
8 REPLIES 8
Allan Pincus
Frequent Advisor

Re: Software Depot

I've had problems like that before, and the notion of a "depot" can be very confusing, at least it was for me.

I assume it is a CDROM you are using.

1. Login as "root".
2. Run the command "swinstall"
3. Select "Source Depot Type" as "Network Directory/CDROM"
4. If you get an error that says "the default depot path does not exist" simply click OKAY and enter "/" for "Source Depot Path".

When you hit "okay" it should read the CDROM and list to you all the bundles.

let me know if you need more info or another problem occurs.

- Allan
Jeff Schussele
Honored Contributor

Re: Software Depot

Hi Don,

You create a depot with the swreg command - example

swreg -l depot /var/spool/sw

You can verify the depot as follows

swlist -l depot

It will return all registered depots.


If you're installing Ignite from the CD then just run swinstall interactively by just entering (after exporting your display if you're not on the console).
You don't need to register the CD.

Depots are generally created to allow remote hosts to install the SW w/o having to copy it to the server.

swinstall

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Leif Halvarsson_2
Honored Contributor

Re: Software Depot

Hi
Do you have the "Ignite Administrators Guide" ?
There you can find instructions how to create depots?.
On my Ignite server I can find this three depots.
/var/spool/sw
/var/opt/ignite/depots/Rel_B.11.11/core
/var/opt/ignite/depots/recovery_cmds
If I remember correct
/var/spool/sw
/var/opt/ignite/depots/recovery_cmds
is created when installing Ignite.
And
/var/opt/ignite/depots/Rel_B.11.11/core
was created when installing the Rel_B.11.11 CD
from Ignite GUI (Server setup).




Don Clayton
Occasional Contributor

Re: Software Depot

I don't have the Ignite Manual. Aalso I can't find the CD with Ignite on it. I have downloaded a copy from the HP website but I still can't install it.
Sandip Ghosh
Honored Contributor

Re: Software Depot

During the installation you just point to that file, that will be enough , you don't have to do anything.Like, keep the dowloaded file in the /tmp directory. Run swinstall, select local Directory, then go to the source depot path and type the name of the file with full path like /tmp/..., it will do the installation.

Sandip
Good Luck!!!
Darrell Allen
Honored Contributor

Re: Software Depot

Hi Don,

The warning message you get is simply saying that you don't have any REGISTERED software depots on your host. That's not a bad thing.

The primary reason, at least for me, to register a depot is so I can install that software on a remote system. For example, if my software depot is on a cd and the system I want to install the software on does not have a cd drive, I mount the cd on another HP box and register it as a depot on the box where it is mounted, then tell swinstall that the depot I want to install from is on another system.

Most software packages for HP-UX are distributed as a software depot. To install them, they do not have to be registered. You simply download them to your system and tell swinstall where the depot resides.

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
Katherine Ye
New Member

Re: Software Depot

I am trying to install tcsh on HP. I downloaded the tcsh-6.10-11.20.depot from the hp web site and follow the instruction to run swinstall. It gave me the error message:
ERROR: There is currently no depot software on host "HPUXDEV" at location /var/spool/sw
I followed Jeff's instruction on
swreg -l depot /var/spool/sw
give me same error message. what shall I do next. Thanks a lot

Katherine
erics_1
Honored Contributor

Re: Software Depot

Katherine,

Try this:

swagentd -r
swinstall -s /path/to/depot/tcsh-6.10-11.20.depot \*

Let us know if this installs the product.

Regards,
Eric