Operating System - HP-UX
1833042 Members
2353 Online
110049 Solutions
New Discussion

swinstall syntax question

 
SOLVED
Go to solution
Ratzie
Super Advisor

swinstall syntax question

I am curious what the \* at the end of the swinstall command means...

swinstall -s /tmp/somedepot.depot \*

Does this also have to put at the end when you are stiplating an autoreboot?

swinstall -s /tmp/somedepot.depot -x autoreboot=true
4 REPLIES 4
Steven E. Protter
Exalted Contributor
Solution

Re: swinstall syntax question

It means install all parts of the depot.

If a depot contains say multple patches like PHKL_12345 and PHKL_23456

You can replace the \* with the patch id.

swinstall -s /tmp/somedepot.depot PHKL_12345

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
Michael Tully
Honored Contributor

Re: swinstall syntax question

It basically means all products that are in the specified depot being installed. You can also use separate patch numbers if required.

Yes it is still required (*\) if installing the entire depot.
Anyone for a Mutiny ?
Steven E. Protter
Exalted Contributor

Re: swinstall syntax question

Answer to yoru second question.

No.

autoreboot is determined by what you are installing. If the content of the depot requires a system boot, say a kernel update, then swinstall will require the -x autoreboot=true

parameter.

Whenever I use that parameter, I also use this:

-x reinstall=false

This prevents accidentally damaging reinstallation of certain products. PHKL_18543 comes to mind. * shiver *

Sorry I couldn't answer your question in one post. I suggeset you zero point one of my posts.

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
Michael Steele_2
Honored Contributor

Re: swinstall syntax question

The '\' means to treat the next character literally. The '*' is the wild card for everything.

So swinstall everything in /tmp/somedepot.depot.
Support Fatherhood - Stop Family Law