1833758 Members
2432 Online
110063 Solutions
New Discussion

swinstall

 
Tom Spence_1
Regular Advisor

swinstall

Hi,
I am using 9000/877 10.20.

I downloaded PHSS_28872 then followed the instruction how to install. But somehow the server FROZE! I restart the server with no PROBLEM for boot up.

Then decide to use BUNDLE by 'sam - swinstall' but swinstall can't install because the server has it, like this (swlist):
# PHSS_28872
PHSS_28872.PHSS_28872 transient

So what is your suggestion for me to do? reinstall or deinstall by using 'sam - swinstall'. Thanks.

Tom
Thinking Snow!
9 REPLIES 9
LucianoCarvalho
Respected Contributor

Re: swinstall

hi,

I think it woulb better reinstall the patch. You can use "swinstall" with no option, and change the option reinstall in the options menu.

regards.
steven Burgess_2
Honored Contributor

Re: swinstall

Hi Tom

Here you go

http://www5.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000066916517

HTH

Steve
take your time and think things through
Tom Spence_1
Regular Advisor

Re: swinstall

Ok, I agree with you about reinstall.. I checked with option menu, here is:

[X] Create target path if not there already
[X] Mount filesystems in /etc/fstab or /etc/checklist
[ ] Reinstall filesets even if same revision exists
[X] Reinstall files even if same one already there
[X] Use checksum when checking if file is the same
[ ] Compress files during transfer
[ ] Allow creation of multiple versions
[ ] Defer configuration
[ ] Enable auto-recovery of product for load errors
[ ] All targets to resolve the source locally
[ ] Allow installation of lower version than current
[ ] Allow installation of incompatible software
[X] Autoselect dependencies when marking software
[X] Enforce dependency analysis errors in agent
[X] Enforce script failures
[X] Enforce disk space analysis errors

Is this look right or check I uncheck or check in any list? Let me know. Thanks.

Tom
Thinking Snow!
Zeev Schultz
Honored Contributor

Re: swinstall

I would also mark
Reinstall filesets even if same revision exists

Regards

Zeev
So computers don't think yet. At least not chess computers. - Seymour Cray
Tom Spence_1
Regular Advisor

Re: swinstall

Steve,

I can't open the url that you gave me. I didn't register at other site... Try different site if you can. Thanks.

Tom
Thinking Snow!
Tom Spence_1
Regular Advisor

Re: swinstall

Zeev Schultz,

Yes, I did mark on this one 'Reinstall filesets even if same revision exists' but still not work. Here what error message said:

======= 05/05/03 10:28:06 EDT BEGIN install AGENT SESSION (pid=1974)
(jobid=xxx-0054)

* Agent session started for user "root@xxx".
(pid=1974)

* Beginning Analysis Phase.
* Source: xxx:/tmp/patch/depot
* Target: xxx:/
* Target logfile: xxx:/var/adm/sw/swagent.log
* Reading source for product information.
* Reading source for file information.
ERROR: The patch PHSS_28872 is already installed on the system.
To reinstall this patch, deinstall it first before
attempting to reinstall it.
ERROR: The "checkinstall" script for "PHSS_28872" failed (exit code
"1"). The script location was
"/tmp/patch/depot/catalog/PHSS_28872/pfiles/checkinstall".
* This script had errors and the execution of this product
cannot proceed until the problem is fixed. Check the above
output from the script for further details.
* Executing preDSA command.
NOTE: The bundle "BUNDLE,r=B.10.20" will be reinstalled because the
"reinstall" option is set to "true".
NOTE: Could not install the bundle "BUNDLE,r=B.10.20" because none
of its filesets could be be installed.
NOTE: All filesets in the product "PHSS_28872,r=B.10.00.00.AA" will
be excluded because there was an error in this product.

* Summary of Analysis Phase:
ERROR: Exclude PHSS_28872.PHSS_28872,r=B.10.00.00.AA
ERROR: 1 of 1 filesets had Errors.
ERROR: The Analysis Phase had errors. See the above output for
details.


======= 05/05/03 10:41:52 EDT END install AGENT SESSION (Cancelled)
(pid=1974) (jobid=xxx-0054)
Thinking Snow!
Tim Sanko
Trusted Contributor

Re: swinstall

Tom

Before you reinstall the bundle. Check for the LITS (LINE in the Sand) patches.

Don't reinstall all if they are in your patch bundle. redownload the bundle and it's pre-req's.

Tim
Steven E. Protter
Exalted Contributor

Re: swinstall

check_patches (a great free utility) or

http://www2.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_27779&context=hpux:800:11:00

swverify \* might have shown you the state of the patch prior to reinstallation.

Its always a good idea to know whats up prior to reinstalling

swlist -l product -a state PHSS_28872

If the state is currupt, swremove it and reinstall it clean.

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
Tom Spence_1
Regular Advisor

Re: swinstall

SAM - swinstall, doesn't work for REINSTALL! I guess swinstall version is old! I think it is now PHKL_7777.Yeah I know it is old version but I'll update soon. Anyway, how can I REMOVE PHSS_28872 from swlist -l fileset -a state. Or should I use manual without SAM. Am I doing right type like this?

swinstall -x autoreboot=true -x match_target=true -x reinstall=true -s /tmp/PHSS_28872.depot

Will it force for reinstall with the same fileset? I hope so! Smile... Thanks.

Tom
Thinking Snow!