Tuesday, November 5, 2024
HomeHP-UXHow to Create Software DEPOT file in HP-UX

How to Create Software DEPOT file in HP-UX

Creating a separate software depot for your patches is useful,
when space is tight and patches have dependencies.

Assuming you have two patches PHNE_20000 and PHNE_20001.

unshare all two patches by typing the following commands.

sh PHNE_20000
sh PHNE_20001

Next, we have to create a new software depot on the directory /newdir/depot

mkdir /newdir/depot
swpackage -s PHNE_20000.depot -d /newdir/depot

Register your new depot on the sd-ux.

swreg -l depot /newdir/depot

Copy the next patch to the newly created software depot.

swcopy -s `pwd`/PHNE_20001.depot PHNE_20001 @ /newdir/depot

You are now ready to install your patches

swinstall -s /newdir/depot

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -

Most Popular

Recent Comments