HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Combining depot files and swinstall them
Operating System - HP-UX
1836596
Members
2076
Online
110102
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
Forums
Discussions
Discussions
Discussions
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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-30-2006 03:18 AM
05-30-2006 03:18 AM
Hi Guys, I have lots of PH* depots patches that i need to install in my system and I want to install them in a single swinstall. Can you advise me how.
I put all individual Depots in /tmp/patch directory.
what i was thinking was swcopy or swpackage...
in the tmp/patch dir there are all the depots...
:/tmp/patch#tar -tvf HPUX-PR13-11.11-Feb2005.tar
-r-- 0/3 92160 Aug 1 23:40 2001 PHCO_24402.depot
-r-- 0/3 1894400 Jan 7 03:48 2002 PHCO_25898.depot
-r-- 0/3 40960 Sep 5 07:54 2003 PHCO_26385.depot
-r-- 0/3 2181120 Nov 19 04:45 2002 PHCO_26466.depot
-r-- 0/3 624640 Jul 29 10:34 2002 PHCO_27020.depot
-r-- 0/3 256000 Oct 24 16:19 2002 PHCO_27958.depot
-r-- 0/3 24432640 Apr 18 00:44 2003 PHCO_28427.depot
-r-- 0/3 81920 Nov 8 16:55 2001 PHKL_25233.depot
-r-- 0/3 215040 Nov 5 04:40 2001 PHKL_25389.depot
-r-- 0/3 51200 Jul 19 13:11 2002 PHKL_27179.depot
-r-- 0/3 491520 May 26 01:49 2004 PHKL_30510.depot
-r-- 0/3 204800 May 26 01:53 2004 PHKL_30511.depot
-r-- 0/3 849920 Jan 25 17:11 2002 PHNE_23465.depot
-r-- 0/3 1945600 Feb 25 10:57 2002 PHNE_24473.depot
-r-- 0/3 358400 Jul 16 09:56 2003 PHNE_24512.depot
-r-- 0/3 2938880 Mar 24 22:06 2003 PHNE_28476.depot
-r-- 0/3 860160 Jun 20 20:55 2003 PHNE_28923.depot
-r-- 0/3 2816000 Dec 11 05:51 2003 PHNE_29887.depot
-r-- 0/3 23418880 Sep 11 06:09 2002 PHSS_26560.depot
-r-- 0/3 60026880 Oct 22 08:47 2002 PHSS_26946.depot
Thanks in advance.....
I put all individual Depots in /tmp/patch directory.
what i was thinking was swcopy or swpackage...
in the tmp/patch dir there are all the depots...
:/tmp/patch#tar -tvf HPUX-PR13-11.11-Feb2005.tar
-r-- 0/3 92160 Aug 1 23:40 2001 PHCO_24402.depot
-r-- 0/3 1894400 Jan 7 03:48 2002 PHCO_25898.depot
-r-- 0/3 40960 Sep 5 07:54 2003 PHCO_26385.depot
-r-- 0/3 2181120 Nov 19 04:45 2002 PHCO_26466.depot
-r-- 0/3 624640 Jul 29 10:34 2002 PHCO_27020.depot
-r-- 0/3 256000 Oct 24 16:19 2002 PHCO_27958.depot
-r-- 0/3 24432640 Apr 18 00:44 2003 PHCO_28427.depot
-r-- 0/3 81920 Nov 8 16:55 2001 PHKL_25233.depot
-r-- 0/3 215040 Nov 5 04:40 2001 PHKL_25389.depot
-r-- 0/3 51200 Jul 19 13:11 2002 PHKL_27179.depot
-r-- 0/3 491520 May 26 01:49 2004 PHKL_30510.depot
-r-- 0/3 204800 May 26 01:53 2004 PHKL_30511.depot
-r-- 0/3 849920 Jan 25 17:11 2002 PHNE_23465.depot
-r-- 0/3 1945600 Feb 25 10:57 2002 PHNE_24473.depot
-r-- 0/3 358400 Jul 16 09:56 2003 PHNE_24512.depot
-r-- 0/3 2938880 Mar 24 22:06 2003 PHNE_28476.depot
-r-- 0/3 860160 Jun 20 20:55 2003 PHNE_28923.depot
-r-- 0/3 2816000 Dec 11 05:51 2003 PHNE_29887.depot
-r-- 0/3 23418880 Sep 11 06:09 2002 PHSS_26560.depot
-r-- 0/3 60026880 Oct 22 08:47 2002 PHSS_26946.depot
Thanks in advance.....
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2006 03:26 AM
05-30-2006 03:26 AM
Re: Combining depot files and swinstall them
The swcopy command will allow you to create a depot but you will be swcopying each patch into the depot one-by-one.
You could write a script that will loop through the patches and swcopy each patch to the newly created depot.
You could write a script that will loop through the patches and swcopy each patch to the newly created depot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2006 03:28 AM
05-30-2006 03:28 AM
Solution
Do this:
mkdir /var/tmp/my_patch_depot
for i in PH*.depot
do
swcopy -s ${PWD}/$i \* @ /var/tmp/my_patch_depot
done
That will gather all your patches into a common location in /var/tmp from which you may then swinstall them all at once.
Pete
Pete
mkdir /var/tmp/my_patch_depot
for i in PH*.depot
do
swcopy -s ${PWD}/$i \* @ /var/tmp/my_patch_depot
done
That will gather all your patches into a common location in /var/tmp from which you may then swinstall them all at once.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2006 03:31 AM
05-30-2006 03:31 AM
Re: Combining depot files and swinstall them
Hi Ferdi:
You can do:
# cd /tmp/patch
# for F in PH*.depot
> do
> swcopy -v -s /tmp/patch/${F} -x enforce_dependencies=false \* @ /var/tmp/swdepot
done
# swinstall -s /var/tmp/swdepot -x autoreboot=true -x patch_match_target=true
Regards!
...JRF...
You can do:
# cd /tmp/patch
# for F in PH*.depot
> do
> swcopy -v -s /tmp/patch/${F} -x enforce_dependencies=false \* @ /var/tmp/swdepot
done
# swinstall -s /var/tmp/swdepot -x autoreboot=true -x patch_match_target=true
Regards!
...JRF...
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP