Operating System - HP-UX
1834346 Members
2220 Online
110066 Solutions
New Discussion

swinstall problem faced by us

 
Sreenivasa_N
New Member

swinstall problem faced by us

Hi,
I have created a product(PROXYZ) using swpackage command and product specification file(swpackage -s psf). The product contains a set of executables and scripts. The product was created properly without any ERRORs or Warnings. I registered the product using swreg command (swreg -l depot /var/spool/sw),without any errors or warnings.

If i run swinstall command (GUI)I can select the product which I have created and install it also without any problem.
BUT WHEN I TRY TO DO THE INSTALLATION THROUGH COMMAND LINE USING THE swinstall -s it is giving that the product is not in a valid depot file.
Please suggest how to install the PRODUCT through command line without getting into the GUI.

thanks,
srini
cheeni
4 REPLIES 4
Vincent Stedema
Esteemed Contributor

Re: swinstall problem faced by us

Hi,

To run swinstall non-interactively, specify the name of the product on the command line:

swinstall -s /tmp/PROXYZ.depot PROXYZ

When using the -s parameter, type in the full path to the depot file or else it won't work.

Hope this helps.

Vincent
Stefan Schulz
Honored Contributor

Re: swinstall problem faced by us

If you can install this with the GUI this should also work on command line. Only thing that i can imagine is that you have to use the correct product name with swinstall.

Do a swlist to identify the registered product name (first column).
Then use swinstall -s . Where is /var/spool/sw if the depot is local or hostname:/var/spool/sw for remoteinstallation. is the name of your software as returned by swlist.

Hope this helps. Stefan
No Mouse found. System halted. Press Mousebutton to continue.
Stefan Schulz
Honored Contributor

Re: swinstall problem faced by us

Uuups ... sorry, it should of course read:

Do a swlist -d to identify ...

This will list the software available in your depot. Without the -d option it would list the software already installed.
No Mouse found. System halted. Press Mousebutton to continue.
Steffi Jones_1
Esteemed Contributor

Re: swinstall problem faced by us

Hello,

usually the message comes up when you have a typo in the command line. Make sure that the spelling is correct and that you have upper and lower case letters straightened out :-)

Steffi Jones