Operating System - HP-UX
1826446 Members
4064 Online
109692 Solutions
New Discussion

Errors encountered in installing patches

 
Fenglin
Regular Advisor

Errors encountered in installing patches

I hit the following errors in installing Jun08 patches using command 'swinstall -s Spath/depot \*'
ERROR: Installation of software requiring a reboot is, by default,
not allowed from the command line. You must specify "-x
autoreboot=true" on the command line to change the default for
this session.
ERROR: Cannot continue the "swinstall" task.
* Selection had errors.

So, I use command 'swinstall -s -x autoreboot=true $path/depot \*'. Then I hit
errors below
ERROR: Could not contact host "-x". Make sure the hostname is
correct and an absolute pathname is specified (beginning with
"/").
* Source connection failed for "-x:/var/spool/sw".
WARNING: More information may be found in the daemon logfile on this
target (default location is -x:/var/adm/sw/swagentd.log).

What is the resolution?
1 REPLY 1
Torsten.
Acclaimed Contributor

Re: Errors encountered in installing patches

It's the order of arguments!

swinstall -s -x autoreboot=true $path/depot \*


should be


swinstall -x autoreboot=true -s $path/depot \*

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!