- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Combining the package & a depot and install
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
08-06-2004 07:02 PM
08-06-2004 07:02 PM
I have downloaded few custom patches and created a bundle (make_bundles) and then a package using swpackage command.
I would like to install the above package and the QPK1100_B.11.00.64.4.depot together.
How can I install them together?
Thanks,
Nikee
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2004 07:11 PM
08-06-2004 07:11 PM
Re: Combining the package & a depot and install
If i understood the question correctly then,
Try using swcopy and then use swinstall.
swcopy you can copy all the required patches
at on destination and then selectively install them using swinstall.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2004 07:18 PM
08-06-2004 07:18 PM
Re: Combining the package & a depot and install
Man page says as,
The swcopy command copies or merges software_selections from a
software source to one or more software depot target_selections These
depots can then be accessed as a software source by the swinstall
command.
Regards
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2004 07:54 PM
08-06-2004 07:54 PM
Re: Combining the package & a depot and install
Uncompress all the downloaded patch files using sh command:
for i in PH*
do
sh $i
done
mkdir /swdepot/patches./custom_aug_04
Copy the files using swcopy from the tmp directory.
for i in PH*.depot
do
swcopy -v -x enforce_dependencies=false -s /swdepot/patches/tmp/$i \* @ /swdepot/â ¦./custom_aug_04
done
Bundle â Product Specific File
make_bundles -B -n CSWPATCHES -t "Customized Patch Bundle, August 2004" -o titan_0804.psf -r C.1.0 /swdepot/patches/custom_aug_04
Package
swpackage -s titan_0804.psf -xlayout_version=1.0 -xreinstall_files=true -d /swdepot/patches/custom_aug_04
This is how I have create a package.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2004 11:04 PM
08-06-2004 11:04 PM
SolutionI assume your depot is /swdepot/patches/custom_aug_04. Secondly Created a bundle CSWPATCHES in /swdepot/patches/custom_aug_04.
Now you will be able to see this Bundle thr' swinstall menu.
Now copy QPK1100_B.11.00.64.4.depot file to /swdepot/patches/custom_aug_04 using swcopy command that you know already.
Now you have both your customized bundle as well as the QPK depot file in your depot.
Swintall will now see both of them in the install window, go ahead to select them and install.
Hope this is what you are looking for.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2004 12:12 AM
08-07-2004 12:12 AM
Re: Combining the package & a depot and install
swpackage is used baciscally to create a depot file.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2004 03:19 AM
08-09-2004 03:19 AM
Re: Combining the package & a depot and install
You can make script like below and swinstall many patches without restart and reboot server after last one.
cp -p /var/adm/sw/defaults /var/adm/sw/defaults.ORI
echo "swagent.reboot_cmd=/bin/true" >> /var/adm/sw/defaults
swinstall -x autoreboot=true -s /dir/patch1.depot
swinstall -x autoreboot=true -s /dir/patch2.depot
cp -p /var/adm/sw/defaults.ORI /var/adm/sw/defaults
swinstall -x autoreboot=true -s /dir/patch3.depot