1829749 Members
1586 Online
109992 Solutions
New Discussion

patch installation

 
JimKali
Advisor

patch installation

I have the following patches in my /tmp

how can i install them

# ll /tmp
PHSS_33277
PHSS_33278
PHSS_33279
README_hp-ux

I have checked

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1112498
but could not find much information

7 REPLIES 7
JimKali
Advisor

Re: patch installation

i have also checked

http://docs.hp.com/en/5991-0711/ch02s02.html

but it says

Load the patches into /var/tmp/patches/depot:

./create_depot_hp-ux_11

and it dosent work..

#./create_depot_hp-ux_11 gives me an error "dosen't exist.

My OS is 11.23
Ivan Krastev
Honored Contributor

Re: patch installation

First uncompres the patches:

sh PHSS_33277
sh ...
sh ...

You will have after that some files like:
PHSS_33277.depot and PHSS_33277.text

use the following command to install patches one by one:
(with preview)
#swinstall -p -s /tmp/PHSS_33277.depot \*

and the install itself:
#swinstall -p -s /tmp/PHSS_33277.depot \*



if you want to install it on the several servers or at one, create a depot, containing all the patches with swcopy.

regards,
ivan



Ivan Krastev
Honored Contributor

Re: patch installation

Sorry second swinstall is without -p (preview) option.

regards,
ivan
John Guster
Trusted Contributor

Re: patch installation

make these pathches into a patch bundle:
1. mave these 4 patches into /tmp/patches directory
2. cd /tmp/patches
3. for i in *
do
sh $i
done
4. mkdir /tmp/depot
for i in /tmp/patches/PH*.depot
swcopy â s $i \* @/tmp/depot
5. swinstall -i, from GUI provide depot path as /tmp/depot...rest is easy.

Grayh
Trusted Contributor

Re: patch installation


* Session started for user "root@packa01".

* Beginning Selection
* Target connection succeeded for "packa01:/".
NOTE: The software "PHSS_33277" was successfully marked, but it
depends on the following software items which could not be
found in the source. However, these items may already be in
the target. This will be checked during the Analysis Phase:
PHSS_33279.LANG-AUX,fa=HP-UX_B.11.23_IA
* Source: /tmp/PHSS_33277.depot
* Targets: MAHP05:/
* Software selections:
PHSS_33277.C,r=1.0,a=HP-UX_B.11.23_IA,v=HP,fr=1.0,fa=HP-UX_B.11.23_
IA
* Selection succeeded.


* Beginning Analysis
* Session selections have been saved in the file
"/.sw/sessions/swinstall.last".
* "packa01:/": The software dependencies for 1 products or
filesets cannot be resolved.
* Analysis succeeded.


NOTE: More information may be found in the agent logfile using the
command "swjob -a log packa01-0019 @ packa01:/".

======= 10/07/08 14:16:56 EDT END swinstall SESSION (non-interactive)
(jobid=packa01-0019)

# swinstall
NOTE: The interactive UI was invoked, since no software was
specified.

#
#
#
#
#




Grayh
Trusted Contributor

Re: patch installation

please ignore my above message... I pasted it here by mistake
Dennis Handly
Acclaimed Contributor

Re: patch installation

>I have the following patches in my /tmp how can i install them

Before you go down a long twisty path, why do you want to install these obsolete compiler patches? You shouldn't do it because Oracle told you.
See Grayh's long involved thread to nowhere:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1276186