- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Patch depot
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
01-17-2003 01:20 AM
01-17-2003 01:20 AM
Patch depot
I have downloaded around 12+ patches and all are kernel patches. If i install one by one using swinstall it is asking for a reboot every time .. i need a method of installing all the patches in one time and do a reboot.
how can i do this?
Thanks in advance.
Vijaya Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 01:23 AM
01-17-2003 01:23 AM
Re: Patch depot
Put all your patches into a depot.
# cd /tmp
# for X in PH*.htm
> do
> sh ${X}
> done
# PDIR=/tmp/patch_depot
# mkdir ${PDIR}
# for X in PH*.depot
> do
> swcopy -s ${PWD}/${X} \* @ ${PDIR}
> done
# swlist -s ${PDIR}
#swinstall -x autoreboot=true -x patch_match_target=true -s /tmp/patches
Cheers
Keely
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 01:25 AM
01-17-2003 01:25 AM
Re: Patch depot
Good luck
Carlo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 01:33 AM
01-17-2003 01:33 AM
Re: Patch depot
you might want to check this document from the knowledge trees:
http://www4.itrc.hp.com/service/iv/docDisplay.do?docId=/DE_SW_UX_Patchmanagment_EN_01_E/how_to_create_a_patch_depot.htm
Regards,
Jochen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 01:49 AM
01-17-2003 01:49 AM
Re: Patch depot
mkdir /tmp/depot
swcopy -s /
After you finish all patches one by one,you can run swinstall -s /tmp/depot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 01:58 AM
01-17-2003 01:58 AM
Re: Patch depot
you have to create a depot in order do this in one go. Use swcopy to create one. Use this procedure: Unshar the downloaded patchfiles and swcopy them into a (temporary) depot. Can be done in a single for-loop:
for f in PHKL*; do
sh ${f}
swcopy -s ${PWD}/${f}.depot ${f} localhost @ path
done
Path is the full pathname of your depot.
HTH, Edgar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 02:32 AM
01-17-2003 02:32 AM
Re: Patch depot
assuming you have downloaded the patches under /tmp.
#cd /tmp
#for i in *.txt
do
sh $i
done
will unshar all the patches
#mkdir patch_depot
#for i in *.depot
do
swcopy -s ${PWD}/$i \* @ /tmp/patch_depot
done
will create a bundle of all patches
#swinstall -s /tmp/patch_depot
will install all patches in one shot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 02:43 AM
01-17-2003 02:43 AM
Re: Patch depot
In order to install multiple patches in one go, you will need to create
a patches depot as follows :
1. Obtain the set of patches you want to install in your depot.
2. Unshar the patches:
# for i in PH*
do
sh $i
done
3. Combine all these separate depots into one depot. To do this, use the
swcopy command. First, create the directory to store the patches:
# mkdir /tmp/patches
4. Now take the patch depots and copy them into the target depot:
# for i in PH*depot
do
swcopy -x enforce_dependencies=false -s ${PWD}/$i \* @ /tmp/patches
done
5. Verify the contents of the depot:
# swlist -d @ /tmp/patches
NOTE: enforce_dependencies=false lets you install this boundle without needs that all dependencies are inclued in this bundle!
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 03:13 AM
01-17-2003 03:13 AM