1846590 Members
2480 Online
110256 Solutions
New Discussion

patch install

 
SOLVED
Go to solution
Ferdinand_2
Advisor

patch install

Hi all,

I have never installed a patch on a HP-UX 11.0
HP asked me to install a new patch.
I am looking for a HOWTO

As I am new to hp-ux (from AIX) preferably an idiot-proof one.

THX
cd /pub more beer
6 REPLIES 6
Stefan Farrelly
Honored Contributor
Solution

Re: patch install


Go to itrc.hp.com then select Patch database. Type in the patch number (i presume you have it from HP) and click on search. It will list your patch - or if its been superceeded then its replacement. Select the box next to the patch so you can download it. Download it as gzip format.

Now, on your HP server gunzip the patch. Now it should be something like PHXX_12345.depot
You can now use swlist on it to confirm its contents; swlist -s $PWD/PHXX_12345.depot
It should list the patch something like;
PHXX_12345

Now you can install it using swinstall;
swinstall -s $PWD/PHXX_12345.depot \*

If the patch requires a reboot it will tell you and you will need to add an option;
swinstall -x autoreboot=true -s $PWD/PHXX_12345.depot \*

Thats it!
Im from Palmerston North, New Zealand, but somehow ended up in London...
Alex Glennie
Honored Contributor

Re: patch install

download the patch onto your unix system..
unshar it ->

sh

this will produce 2 files : a .txt file and the patch binary.

read the .txt file .

It contains the exact syntax and info you need including the unix command line and special handling instructions
Fragon
Trusted Contributor

Re: patch install

Here you can learn something about patch using:
http://www.docs.hp.com/hpux/onlinedocs/B2355-90154/B2355-90154.html

-Gerald-
V. V. Ravi Kumar_1
Respected Contributor

Re: patch install

hi,

iam attaching a word document, which may be useful.

regds
Never Say No
Victor_5
Trusted Contributor

Re: patch install

1. download the patch from itrc web site to your /tmp

itrc.hp.com

let's say it is PHSS_XXXX.txt

2. cd /tmp

3. sh PHSS_XXXX.txt
you will get two files, PHSS_XXXX.depot, PHSS_XXXX.text

4. go through PHSS_XXXX.text before you go, to see whether it has special installation required, you also can see the same thing from itrc web site when you download the patch

5. swinstall

6. actions --> mark for install

7. actions --> install

That is the easiest way to do, good luck.

One good manual for your info:

http://www.docs.hp.com/hpux/onlinedocs/B2355-90154/B2355-90154.html
Ferdinand_2
Advisor

Re: patch install

Thx 4 all your help.

The patch update had to happen on 4 machines connected to a FC60.
One of them has a software depot. So I installed it from there.

One suggestion: "autoboot=true" raised an eyebrow. I guess that was a test for an AIX root ;-)

0/~
cd /pub more beer