- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Patching HP-UX 11.11
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2004 06:35 AM
09-15-2004 06:35 AM
HWEnable11i_B.11.11.0406.4.depot
GOLDQPK11i_B.11.11.0406.5.depot
Should I install using SAM or using the swinstall
command:
# swinstall
Also, there are some other miscellaneous patches which I also have to install:
PHKL_31003
PHNE_27796
PHNE_28762
PHSS_30448
PHSS_30788
PHSS_30789
PHSS_30871
PHSS_31179
Once I download these individually, is there a command/script I can run to package them into a single depot file, so as to avoid multiple reboots?
Thanks to any help that can be provided.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2004 06:44 AM
09-15-2004 06:44 AM
Solutionsh "patch_file"
This will create two files for every patch.
txt and depot file.
Now do as follows
for i in `ls -1 /tmp/*.depot`
do
swcopy -s $i \* @ /tmp/patches
done.
This will create single file at /tmp/patches.
Install it - swinstall -s /tmp/patches
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2004 06:49 AM
09-15-2004 06:49 AM
Re: Patching HP-UX 11.11
Use 'swinstall' CLI or GUI and select the depot paths. It's a pretty neat GUI. Even SAM brings up the same. From command line, you will have to do
swinstall -s /wherever/GOLDQPK11i_xx.depot \*
About the other individual patches, you can club them together in single depot and install them at once. You can use the following procedures.
Put all these patches in one directory say /tmp/patches. Then do
#cd /tmp/patches
#sh PH*
They should create two files per each path like
Run the following script to put all depot files in one depot.
mkdir /tmp/patches/depot
for PATCH in PH*.depot
do
swcopy -s /tmp/patches/${PATCH}.depot \* @ /tmp/patches/depot
done
#swreg -l depot /tmp/patches/depot
Now point your swinstall to /tmp/patches/depot and you should be able to select all the patches and install them in a single turn.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2004 06:49 AM
09-15-2004 06:49 AM
Re: Patching HP-UX 11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2004 06:55 AM
09-15-2004 06:55 AM
Re: Patching HP-UX 11.11
mkdir /tmp/patches/depot
for PATCH in PH*.depot
do
swcopy -s /tmp/patches/${PATCH}.depot \* @ /tmp/patches/depot
done
Do I put the above in a .sh file and run it from the command prompt or just type it at root prompt > #
Yes I'm a newbie ;)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2004 07:10 AM
09-15-2004 07:10 AM
Re: Patching HP-UX 11.11
If you want to put it in a script, then fine. You can do it.. copy the following into a file and run it
mkdir /tmp/patches/depot
for PATCH in /tmp/patches/PH*.depot
do
swcopy -s ${PATCH} \* @ /tmp/patches/depot
done
There was a fat finger in my previous response. Since this is a simple one, I didn't make it fancy.
The above should work.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2004 07:35 AM
09-15-2004 07:35 AM
Re: Patching HP-UX 11.11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2004 07:55 AM
09-15-2004 07:55 AM