1847047 Members
5171 Online
110261 Solutions
New Discussion

Re: swinstall

 
SOLVED
Go to solution

swinstall

When doing any swinstall, I get this error:

The default source "/var/spool/sw" does not exist or is not a valid source and there are no other registered depots on hp5. You can type in the depot path on this host or choose a different host.

/var/spool/sw does exist. It has swagent.log in it.

What else do I need to do to make it a valid source????
4 REPLIES 4
Andreas Voss
Honored Contributor
Solution

Re: swinstall

Hi,

what do you want to install ?
When installing a downloaded patch:
Ie: downloaded to /tmp, then sh PHNE_1234
swinstall -s /tmp/PHNE_1234.depot
OR cdrom:
mount /dev/dsk/c?t?d0 /SD_CDROM
swinstall -s /SD_CDROM

Regards
Lasse Knudsen
Esteemed Contributor

Re: swinstall

You need to put something in it before it registers it as a depot (or use 'swreg').

The error is just a default behaviour (not very well behaved though) - and you should not need to worry if you are just going to install from tape/cd or another depot.
In a world without fences - who needs Gates ?
Greg_3
Occasional Contributor

Re: swinstall

I also get the same error message. But as far as I know swinstall looks for a software depot.
It seems to default to look at that directory but it is not a software depot (as far as I know, could be wrong). Which is why it prompts you to put in the path to a depot.
John Palmer
Honored Contributor

Re: swinstall

Hi Sheri,

swinstall has a default depot path of /var/spool/sw. If this depot doesn't exist (a depot is not the same thing as a directory) and if the server has no CD drive then swinstall outputs this message, you can ignore it.

I would expect to find the swagent... log files in /var/adm/sw however.

Regards,
John