Operating System - HP-UX
1851396 Members
3184 Online
104058 Solutions
New Discussion

Re: swinstall for tcppred

 
Tom Spence_1
Regular Advisor

swinstall for tcppred

Hello...

What did I wrong?

smithers:root:/tmp #swinstall -x autoreboot=true -x match_target=true > -s /tmp/PHNE_22507.depot

======= 01/21/03 13:23:28 EST BEGIN swinstall SESSION
(non-interactive)

* Session started for user "root@smithers".

* Beginning Selection
* Target connection succeeded for "smithers:/".
* "smithers:/tmp/PHNE_22507.depot": This source is a tape
device.
* "smithers:/tmp/PHNE_22507.depot": Cannot open the logfile on
this target or source. Possibly the media is read-only or
there is a permission problem. Check the daemon logfile and
"/var/tmp/swagent.log" on this host for more information.
ERROR: Cannot continue the "swinstall" task.
* Selection had errors.



======= 01/21/03 13:24:27 EST END swinstall SESSION (non-interactive)

I appreciate your help.

Tom
Thinking Snow!
4 REPLIES 4
Jeff Schussele
Honored Contributor

Re: swinstall for tcppred

Hi Tom,

The .depot files are generally tar files. Do a tar tvf /tmp/PHNE_22507.depot & check:

1) That there is a swagent.log file in the "root" of the tree
2) That under the catalog dir there is a swlock file.

If neither of these are true then tar xvf the file into a unique dir and do:

#touch swagent.log in the "root" of this tree
set owner to root:sys - perms = 644
#touch swlock in the catalog dir & set owner to root:sys - perms = 444

You can then register this depot & you can install it locally or remotely.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Hai Nguyen_1
Honored Contributor

Re: swinstall for tcppred

Your command:

smithers:root:/tmp #swinstall -x autoreboot=true -x match_target=true > -s /tmp/PHNE_22507.depot

should have read:

smithers:root:/tmp #swinstall -x autoreboot=true -x patch_match_target=true -s /tmp/PHNE_22507.depot

Hai
Tom Spence_1
Regular Advisor

Re: swinstall for tcppred

Hai,

You gave me the line but got error... Here is:

ERROR: While reading the command line an error was found for the
option "-x patch_match_target". The keyword or its value may
be incorrect or the keyword does not apply to this command.
ERROR: Command line parsing failed.
Thinking Snow!
Hai Nguyen_1
Honored Contributor

Re: swinstall for tcppred

Thomas,

I am sorry. Since your box is 10.20, there is no such option. The command should have read:

smithers:root:/tmp #swinstall -x autoreboot=true -x match_target=true -s /tmp/PHNE_22507.depot

Hai