installation of many patches / bundle


 
Thread Tools Search this Thread
Operating Systems HP-UX installation of many patches / bundle
# 1  
Old 08-28-2006
Question installation of many patches / bundle

Hi, I need to install these 7 patches on my server:

and the below are the 5 dependency to install these patches

1. PHNE_31097;
1(a). PHCO_33205 (dependency)
b(a). PHCO_30398 (dependency)

2. PHSS_32508;
3. PHSS_32509;
4. PHSS_32510;
5. PHSS_30970;

6. PHSS_32731;
6(a). PHNE_28810 (dependency)
6(a). PHSS_32732 (dependency)

7. PHCO_31312;
7(a). PHCO_33142 (dependency)


I have download all these in one zip file from ITRC.
I have extracted it and copied to my unix server OS: HP-ux b.11.11

I have create a "patches" directory under /tmp and copied all the files in /tmp/patches.

# pwd
/tmp/patches
# ll
total 163392
-rw-r--r-- 1 root sys 7217145 Apr 28 2005 PHCO_31312
-rw-r--r-- 1 root sys 470324 Mar 14 07:44 PHCO_33142
-rw-r--r-- 1 root sys 227962 Aug 29 2005 PHCO_33205
-rw-r--r-- 1 root sys 125517 Mar 31 2004 PHKL_30398
-rw-r--r-- 1 root sys 1265390 Nov 28 2003 PHNE_28810
-rw-r--r-- 1 root sys 5336505 Apr 11 2005 PHNE_31097
-rw-r--r-- 1 root sys 17161388 Feb 14 2006 PHSS_32508
-rw-r--r-- 1 root sys 7807420 Feb 14 2006 PHSS_32509
-rw-r--r-- 1 root sys 5264860 Feb 14 2006 PHSS_32510
-rw-r--r-- 1 root sys 19483606 Sep 6 2005 PHSS_32731
-rw-r--r-- 1 root sys 4474544 Mar 30 2005 PHSS_32732
-rw-r--r-- 1 root sys 14752920 Aug 10 19:16 PHSS_33035
-rw-r--r-- 1 root sys 1831 May 12 11:45 README_hp-ux
-rw-r--r-- 1 root sys 5776 Aug 22 02:22 create_depot_hp-ux_11
-rw-r--r-- 1 root sys 826 Aug 22 02:22 patch_manifest
#

then i gave the command:
#cd /tmp/patches
#./create_depot_hp-ux_11
::::::::::::
::::::::::::

#

This command created so many file under /tmp/patches:

# pwd
/tmp/patches
# ll
total 280512
-rwxrwxrwx 1 root sys 7217145 Apr 28 2005 PHCO_31312
-rw-r--r-- 1 root sys 5007360 Dec 21 2004 PHCO_31312.depot
-rw-r--r-- 1 root sys 200795 Dec 22 2004 PHCO_31312.text
-rwxrwxrwx 1 root sys 470324 Mar 14 07:44 PHCO_33142
-rw-r--r-- 1 root sys 317440 Mar 6 09:23 PHCO_33142.depot
-rw-r--r-- 1 root sys 19844 Mar 13 13:39 PHCO_33142.text
-rwxrwxrwx 1 root sys 227962 Aug 29 2005 PHCO_33205
-rw-r--r-- 1 root sys 153600 Jun 27 2005 PHCO_33205.depot
-rw-r--r-- 1 root sys 6881 Aug 29 2005 PHCO_33205.text
-rwxrwxrwx 1 root sys 125517 Mar 31 2004 PHKL_30398
-rw-r--r-- 1 root sys 81920 Feb 9 2004 PHKL_30398.depot
-rw-r--r-- 1 root sys 4788 Mar 31 2004 PHKL_30398.text
-rwxrwxrwx 1 root sys 1265390 Nov 28 2003 PHNE_28810
-rw-r--r-- 1 root sys 890880 Jul 4 2003 PHNE_28810.depot
-rw-r--r-- 1 root sys 14989 Jul 17 2003 PHNE_28810.text
-rwxrwxrwx 1 root sys 5336505 Apr 11 2005 PHNE_31097
-rw-r--r-- 1 root sys 3665920 Dec 24 2004 PHNE_31097.depot
-rw-r--r-- 1 root sys 198188 Feb 15 2005 PHNE_31097.text
-rwxrwxrwx 1 root sys 17161388 Feb 14 2006 PHSS_32508
-rw-r--r-- 1 root sys 12236800 Jan 31 2005 PHSS_32508.depot
-rw-r--r-- 1 root sys 23845 Feb 1 2005 PHSS_32508.text
-rwxrwxrwx 1 root sys 7807420 Feb 14 2006 PHSS_32509
-rw-r--r-- 1 root sys 5560320 Feb 4 2005 PHSS_32509.depot
-rw-r--r-- 1 root sys 16936 Feb 7 2005 PHSS_32509.text
-rwxrwxrwx 1 root sys 5264860 Feb 14 2006 PHSS_32510
-rw-r--r-- 1 root sys 3747840 Feb 4 2005 PHSS_32510.depot
-rw-r--r-- 1 root sys 11823 Feb 7 2005 PHSS_32510.text
-rwxrwxrwx 1 root sys 19483606 Sep 6 2005 PHSS_32731
-rw-r--r-- 1 root sys 13864960 Mar 24 2005 PHSS_32731.depot
-rw-r--r-- 1 root sys 66590 Mar 28 2005 PHSS_32731.text
-rwxrwxrwx 1 root sys 4474544 Mar 30 2005 PHSS_32732
-rw-r--r-- 1 root sys 3174400 Mar 24 2005 PHSS_32732.depot
-rw-r--r-- 1 root sys 24310 Mar 30 2005 PHSS_32732.text
-rwxrwxrwx 1 root sys 14752920 Aug 10 19:16 PHSS_33035
-rw-r--r-- 1 root sys 10424320 Apr 28 10:56 PHSS_33035.depot
-rw-r--r-- 1 root sys 152819 May 1 16:41 PHSS_33035.text
-rwxrwxrwx 1 root sys 1831 May 12 11:45 README_hp-ux
-rwxrwxrwx 1 root sys 5776 Aug 22 02:22 create_depot_hp-ux_11
drwxr-xr-x 16 root sys 8192 Aug 28 05:06 depot
-rw-r--r-- 1 root sys 1218 Aug 28 05:05 depot.psf
-rwxrwxrwx 1 root sys 826 Aug 22 02:22 patch_manifest
#

So now which command should i use to install these patches? should i use the below command or something else?

#swinstall -s /tmp/patches/depot {where depot is a directory}

will it install all the patches in only one reboot or do i need to restart the server after every patch installation?

please let me know the complete procedure.

Thanks

Last edited by vipsinghal; 08-28-2006 at 10:28 AM..
# 2  
Old 11-08-2006
Type swinstall

Step 1
Source Depot Type : Local Directory
Source Hostname : your machine
Source Depot Path : /tmp/patches/depot

Step 2
Mark all bundles you want to install.

Step 3
Install

Since you have created a depot, the system may reboot only once, depend what you install. Remember that if you have any kernel patches, the system will for sure reboot. If you do have some kernel patches, make a copy of your kernel first.

# cd /stand
# cp vmunix vmunix.old
# 3  
Old 11-08-2006
For a non-interactive installation, you should be able to do something like:
swinstall -x autoreboot=true -x patch_match_target=true -s some.depot
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Delete duplicates in CA bundle

I do have a big CA bundle certificate file and each time if i get request to add new certificate to the existing bundle i need to make sure it is not present already. How i can validate the duplicates. The alignment of the certificate within the bundle seems to be different. Example: Cert 1... (7 Replies)
Discussion started by: diva_thilak
7 Replies

2. AIX

Create a bundle of user ids

if I want to create a bundle of user ids on some aix servers, if there is a way not need to do "passwd username" one by one user to set the password? Thanks (3 Replies)
Discussion started by: rainbow_bean
3 Replies

3. Shell Programming and Scripting

Help for Perl module bundle.

I have a file of lot of perl modules in tar.gz format. They all have dependency on each other for installation. Can anybody guide me for making a bundle so that I can run it in one go and install all the modules. Please note that I can't use CPAN as we don't have Internet connectivity on our... (3 Replies)
Discussion started by: nixhead
3 Replies

4. AIX

List of Installed patches for AIX from given set of patches

I need to find out list of installed patches from given list of patches. I have tried using instfix -f <File containing list of patches> -i -c But I was not able to understand the output of this command. It was like below. bos.perf.tools: :0.0.0.0:?: bos.rte.libc: :0.0.0.0:?: ... (4 Replies)
Discussion started by: Saurabh Agrawal
4 Replies

5. HP-UX

Install sequence in a bundle

Hi all. I'm wondering if there's a install sequence in a HPUX bundle? I'm trying to put many depots together into 1 single bundle, and use HPUX ignite to install this bundle. But I have to make sure one of the depot is last installed. I feel that if there're many different packages in a bundle,... (0 Replies)
Discussion started by: baibinghere
0 Replies

6. Shell Programming and Scripting

zip files in bundle

Hi, Below is the scneario a.txt b.txt c.txt ....... i have written a script to zip these files & the output after executing script is a.txt.zip b.txt.zip c.txt.zip but i dnt want to zip each individual files it has to done in bundle. EX:A zip folder has to be created ,lets say... (2 Replies)
Discussion started by: jagadeeshn04
2 Replies

7. AIX

Add a bundle to a lpp_source

Hi. I forgot a bundle (X11.dt) in the lpp_source (base OS AIX 7.1). The bundle is now in the CD drive, I need to add it permanently in the lpp_source. What do I have to do ? - copy (where ?) bundle on my NIM server (how to determine what files to copy to have all elements of the bundle ?) ?... (1 Reply)
Discussion started by: stephnane
1 Replies

8. Solaris

smpatch and recommended bundle

Hello, I am working on patching several systems and have begun working with smpatch as a possibly quicker way to accomplish patching. I have some observations that trouble me. The "smpatch analyze" only shows a small number of patches for a system (yes the registration is complete with a... (0 Replies)
Discussion started by: justme3
0 Replies

9. Solaris

Problem with patch bundle installation on Solairs 10

:mad: :mad: Hello, Could some help me to resolve why i am geting the below errors... :( Just tried installing patch bundle on solairs 10. many patches are been failed. wen i am trying to install it manualy i am geting the below errors.. ... (8 Replies)
Discussion started by: bullz26
8 Replies

10. Shell Programming and Scripting

please can any one help me bundle several files into one

#!/bin/sh #call function from loop filevalidate() { case $# in 0) echo "usage enshar file1 file2 ... > outputfile ! " >/deb/sterr ;; *) for filename do if ; then echo "invalid pathname > try bin " $filename >/dev/stderr exit 1 fi if ; then echo "is a directory!"... (5 Replies)
Discussion started by: swissnez
5 Replies
Login or Register to Ask a Question