Operating System - HP-UX
1830657 Members
29211 Online
110015 Solutions
New Discussion

Re: Uncompress and untar a downloaded patch set file

 
Brando Sumayao
Advisor

Uncompress and untar a downloaded patch set file

How do you uncompress and untar a downloaded patch set file into a new directory?

Thanks!
5 REPLIES 5
Varghese Mathew
Trusted Contributor

Re: Uncompress and untar a downloaded patch set file

Hi,

Can be this way..
1) copy the patch file over to the /tmp directory
2) edit the copied file and remove the unwanted lines in the beginning of the file - which is clearly marked at the top of the file..
2) #sh phco_XXXXX.html (the file - which will uncompress and unshar the file- which creates two file named PHCO_XXXXX.txt and PHCO_XXXXX.depot.
3) then to install the patch ...--> swinstall -s /tmp/PHCO_XXXXX.depot
thats it u have started installing it - please note that many of the patches installation requires reboot especially the PHKL series patches...

Hope it helps..
Cheers !!!
Mathew
Cheers !!!
Brando Sumayao
Advisor

Re: Uncompress and untar a downloaded patch set file

Thanks Mathew. I will give it a try and appreciate your help!
Roger Baptiste
Honored Contributor

Re: Uncompress and untar a downloaded patch set file

<>

One additional thing to note is that the
*.txt file contains details and instructions
to install that patch.

-raj
Take it easy.
T G Manikandan
Honored Contributor

Re: Uncompress and untar a downloaded patch set file

Hello,
copy the patch file to a /tmp/patches directory.

#sh
#swreg -l depot /tmp/patches/
#swinstall /tmp/patches/

Thanks
Michael Tully
Honored Contributor

Re: Uncompress and untar a downloaded patch set file

Hi,

If you are installing any type of kernel patch
make sure that the analysis has no errors.

So if you are using 'swinstall' from the command line make sure you use the preview mode for any type of kernel or reboot patch.

# swinstall -p -x autoreboot=true -x patch_match_target=true -s

-Michael
Anyone for a Mutiny ?