- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: What do swcopy and swpackage do?
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
11-23-2004 11:58 AM
11-23-2004 11:58 AM
PHKL_30607.depot
PHKL_30607.depot
PHKL_30219.depot
PHKL_29047.depot
How do i use swpackage to pack them in to one depot and Install them
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 12:05 PM
11-23-2004 12:05 PM
SolutionYou do this:
script
# for i in PH*
# do
# sh $i
# done
for i in *.depot
do
swcopy -s ${PWD}/$i \* @ ${1}
done
$1 is the full path of the depot you want to make.
The commented code at the top would also unshar the depot's which you already seemed to have done.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 12:41 PM
11-23-2004 12:41 PM
Re: What do swcopy and swpackage do?
Maybe this link will help,
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000066937439
The itrc doc id is HONCIKKBRC00000015
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 12:42 PM
11-23-2004 12:42 PM
Re: What do swcopy and swpackage do?
If I do following your way. I must Install 4 times. that is inconvenience. I just install one time for 4 depot.(4 deport are Kernel Patches,If I patches individually i must reboot myserver 4 times).
Thank
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 12:45 PM
11-23-2004 12:45 PM
Re: What do swcopy and swpackage do?
I believe you need little more information. Make the script look like below.
cd /wherever_the_depot_files_are
mkdir /tmp/patchdepot
for i in *.depot
do
swcopy -s ${PWD}/$i \* @ /tmp/patchdepot
done
swreg -l depot /tmp/patchdepot
Now /tmp/patchdepot is a single depot where you can see all the above patches. Simply specify /tmp/patchdepot as the 'target' in your swinstall window, select all the patches and install.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 03:14 PM
11-23-2004 03:14 PM
Re: What do swcopy and swpackage do?
Use swcopy on each patch to copy the patch into a local depot, then use swinstall to install all patches contained in the local depot.
Eg:-
# swcopy -s /tmp/PHKL_30607.depot -x enforce_dependencies=false \* \
@ /tmp/my_patch_depot
# swcopy -s /tmp/PHKL_30607.depot -x enforce_dependencies=false \* \
@ /tmp/my_patch_depot
etc..
# swinstall -s /tmp/my_patch_depot -x autoreboot=true \*
Regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 03:23 PM
11-23-2004 03:23 PM
Re: What do swcopy and swpackage do?
Run my code and create a depot called:
/tmp/mydepot.depot
You will see 4 patches in the directory.
swinstall -x autoreboot=true -x reinstall=false -s /tmp/mydepot.depot \*
1 install, one boot.
Sorry if my instructions were incomplete.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com