1833599 Members
3919 Online
110061 Solutions
New Discussion

patches installation

 
SOLVED
Go to solution
Vivek Shrivastava_1
Frequent Advisor

patches installation

I just downloaded around 20 patches in gzip format.

I have this file called "hpux_800_11.00_06101239.tgz" what would be the commands to install them?

What would be the command to first analyze them then install them?

I want to install all at once so that i don't have to reboot many times. How can I install all at once.


I would appreciate if someone can provide step-by-step help.

Please help me.

Thanks


2 REPLIES 2
Mel Burslan
Honored Contributor
Solution

Re: patches installation

since you downloaded tgz format, you can upload this single file to your unix box

if your file is on a windows machine :
start-->run-->cmd
c:\windows> cd
c:\some_dir> ftp unix_system_name
provide your username and password when asked
ftp> cd /tmp
ftp> bin
ftp> put hpux_800_11.00_06101239.tgz
ftp> bye
c:\some_dir> telnet Unix_system_name

login

cd /tmp
gunzip hpux_800_11.00_06101239.tgz
mkdir patch
mv hpux_800_11.00_06101239.tar patch
cd patch
tar -xvf hpux_800_11.00_06101239.tar

at this point you will have a lot of PHxx_nnnnnfiles.

sh PH*

now you will have PHxx_nnnnn.depot and PHxx_nnnnn.txt files

---------manual method-------
mkdir /tmp/depot
for SOURCE in `ls *.depot`
> do
> swcopy -x autoselect_dependencies=false \
-x layout_version=1.0 \
-x enforce_dependencies=false \
-x mount_all_filesystems=false \
-x recopy=true \
-s $SOURCE \* @ /tmp/depot


---------hp provided method-------
./create_depot_hp-ux_11
(if your tgz file have this script in it)

------------continue after choosing one method above-------------

swinstall -x autoreboot=true \
-x mount_all_filesystems=false \
-s /tmp/depot \*

this should take care of it all. If you have any PHKL or PHNE Patches, your system will autoreboot after installation. change the trivial option to false to prevent this and reboot manually but autoreboot is strongly suggested.
________________________________
UNIX because I majored in cryptology...
Vivek Shrivastava_1
Frequent Advisor

Re: patches installation

Thanks Mel.