- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Patch Bundle Creation and then Install Query
Operating System - HP-UX
1752795
Members
6174
Online
108789
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО05-22-2002 06:37 AM
тАО05-22-2002 06:37 AM
Patch Bundle Creation and then Install Query
I have download the following patches, sh'd them and removed the *.text files.
The directory they are in is:-
/tmp/rich_patches
PHCO_13411.depot
PHCO_17058.depot
PHKL_17038.depot
PHKL_18543.depot
PHKL_20016.depot
PHKL_20674.depot
PHKL_21857.depot
PHKL_22589.depot
PHNE_22566.depot
PHNE_26771.depot
I have attempted to do the following to put them in the correct directory in a specific format?:-
#for X in /tmp/rich_patches/PH*.depot
>do
>swcopy -s $X @ /tmp/rich_patches/FTP_depot
>done
This took me into swcopy menu for each patch. I could have selected "Action, Copy", but I was not absolutely sure so I exit'd from the menu each time being fired back in until the for loop completed to done.
Not quite sure what?, but it created in /tmp/rich_patches/FTP_depot a catalog directory, swagentlog and so on. I was a little confused, so I stopped.
Can someone confirm the correct procedure and syntax and try to explain.
###############################################
On successful completion of the above for loop I was going to run the following:-
swpackage -s /tmp/rich_patches/FTP_depot
swlist -s /tmp/rich_patches/FTP_depot
###############################################
Then
swinstall -s /tmp/rich_patches/FTP_depot
###############################################
If you give me some guidence
It would really help
Cheers
Rich
The directory they are in is:-
/tmp/rich_patches
PHCO_13411.depot
PHCO_17058.depot
PHKL_17038.depot
PHKL_18543.depot
PHKL_20016.depot
PHKL_20674.depot
PHKL_21857.depot
PHKL_22589.depot
PHNE_22566.depot
PHNE_26771.depot
I have attempted to do the following to put them in the correct directory in a specific format?:-
#for X in /tmp/rich_patches/PH*.depot
>do
>swcopy -s $X @ /tmp/rich_patches/FTP_depot
>done
This took me into swcopy menu for each patch. I could have selected "Action, Copy", but I was not absolutely sure so I exit'd from the menu each time being fired back in until the for loop completed to done.
Not quite sure what?, but it created in /tmp/rich_patches/FTP_depot a catalog directory, swagentlog and so on. I was a little confused, so I stopped.
Can someone confirm the correct procedure and syntax and try to explain.
###############################################
On successful completion of the above for loop I was going to run the following:-
swpackage -s /tmp/rich_patches/FTP_depot
swlist -s /tmp/rich_patches/FTP_depot
###############################################
Then
swinstall -s /tmp/rich_patches/FTP_depot
###############################################
If you give me some guidence
It would really help
Cheers
Rich
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2002 06:51 AM
тАО05-22-2002 06:51 AM
Re: Patch Bundle Creation and then Install Query
Just do:
1. unshare
#for i in `ls PH*`
do
sh $i
done
2. make depot
#for i in `ls /katalog/PH*.depot`
do
swcopy ???s $i ???x enforce_dependencies=false \* @ /destinatio
done
3. make bundla
#make_bundles -B -n "PM-032001-N4000" -t "Patch Management (01.2001) for N4000 HP_1??? -c Patches -r "01.00" /destination
4.
#swpackage ???s /destination ???d patches.depot ???x target_type=tape
1. unshare
#for i in `ls PH*`
do
sh $i
done
2. make depot
#for i in `ls /katalog/PH*.depot`
do
swcopy ???s $i ???x enforce_dependencies=false \* @ /destinatio
done
3. make bundla
#make_bundles -B -n "PM-032001-N4000" -t "Patch Management (01.2001) for N4000 HP_1??? -c Patches -r "01.00" /destination
4.
#swpackage ???s /destination ???d patches.depot ???x target_type=tape
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2002 06:52 AM
тАО05-22-2002 06:52 AM
Re: Patch Bundle Creation and then Install Query
Hi Richard:
See if this helps.
To collect a series of patches into a depot the can be installed with a single reboot, simply download your patches into the /tmp directory; "un-shar" them and do:
# 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}
There is no need to register the depot with 'swreg'. This is done automatically by 'swcopy'. The 'swlist' allows you to preview the depot's contents. Remember, of course, that you can also run 'swinstall' in preview mode to take it through its analysis phase, too.
As desired, you can add the option '-x enforce_dependencies=false' to the 'swcopy' command. Do this in cases where you *know* you have the necessary dependencies satisfied on your target.
Don't worry about the order of the patches in your depot. 'swinstall' will analyze and apply what is necessary and in the correct order.
To collect a series of patches into a depot the can be installed with a single reboot, simply download your patches into the /tmp directory; "un-shar" them and do:
# 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}
There is no need to register the depot with 'swreg'. This is done automatically by 'swcopy'. The 'swlist' allows you to preview the depot's contents. Remember, of course, that you can also run 'swinstall' in preview mode to take it through its analysis phase, too.
As desired, you can add the option '-x enforce_dependencies=false' to the 'swcopy' command. Do this in cases where you *know* you have the necessary dependencies satisfied on your target.
Don't worry about the order of the patches in your depot. 'swinstall' will analyze and apply what is necessary and in the correct order.
You can now install (or view) the depot created by using 'swinstall' and specifying the source depot as '/tmp/patch_depot'
Regards!
...JRF...
See if this helps.
To collect a series of patches into a depot the can be installed with a single reboot, simply download your patches into the /tmp directory; "un-shar" them and do:
# 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}
There is no need to register the depot with 'swreg'. This is done automatically by 'swcopy'. The 'swlist' allows you to preview the depot's contents. Remember, of course, that you can also run 'swinstall' in preview mode to take it through its analysis phase, too.
As desired, you can add the option '-x enforce_dependencies=false' to the 'swcopy' command. Do this in cases where you *know* you have the necessary dependencies satisfied on your target.
Don't worry about the order of the patches in your depot. 'swinstall' will analyze and apply what is necessary and in the correct order.
To collect a series of patches into a depot the can be installed with a single reboot, simply download your patches into the /tmp directory; "un-shar" them and do:
# 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}
There is no need to register the depot with 'swreg'. This is done automatically by 'swcopy'. The 'swlist' allows you to preview the depot's contents. Remember, of course, that you can also run 'swinstall' in preview mode to take it through its analysis phase, too.
As desired, you can add the option '-x enforce_dependencies=false' to the 'swcopy' command. Do this in cases where you *know* you have the necessary dependencies satisfied on your target.
Don't worry about the order of the patches in your depot. 'swinstall' will analyze and apply what is necessary and in the correct order.
You can now install (or view) the depot created by using 'swinstall' and specifying the source depot as '/tmp/patch_depot'
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2002 05:30 AM
тАО05-27-2002 05:30 AM
Re: Patch Bundle Creation and then Install Query
Thanks for the help people
I have now successfully created my bundel and rolled it out
Cheers
Rich
I have now successfully created my bundel and rolled it out
Cheers
Rich
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP