HP-UX Containers (SRP) A.03.01 Administrator's Guide

81
15.5.1.3 Removing software
The swremove command is used to remove software selection from the system. When removing
installed software, swremove also unconfigures the software before it is removed. As in the case of
installation of a software product that requires a reboot, the removal of the product occurs first in the
global view, then in each system container, followed by a reboot of the entire system.
To remove a product from the system and all the configured system containers, execute the
swremove command in the global view as follows:
# swremove MY_PRODUCT
15.5.1.4 Configure, unconfigure, or reconfigure installed software
The swconfig command is used to configure, unconfigure or reconfigure installed software. The
operation is first performed in the global view and repeated in each system container on the system.
If you attempt to run the swinstall, swremove, or swconfig command in a system container, you will
get the following error as these operations are not supported in system containers:
# srp_su myContainer_A
# swinstall -s /tmp/myproduct.depot MY_PRODUCT
ERROR: The command "swinstall" is not supported in local SRP.
15.5.1.5 Software management behavior for file system subtypes
The following table shows the differences in update requirements and behavior for a system container
with a shared file system subtype and a private file system subtype:
Description System container
(shared FS)
System container
(private FS)
Restriction on the container
state to
perform SD software
maintenance
Must be stopped
No restriction
(either started or stopped)
Varying software All software in container must
match global
Software that has a kernel
component must match global
Filesystem paths that are not
updated during the install
and remove commands
/usr, /sbin, /stand
(LOFS mounts)
/stand
(LOFS mount)
Filesystem paths that are
updated
/opt, /etc, /var, and
/sbin/rc[1-4].d/
/opt, /etc, /var,
/sbin,
and
/usr
15.5.2 Remote network registered depots
Remote network registered SD depots are not supported for software installation.
You will see the following error if a remote depot location is specified with the swintall command:
# swinstall -s remote_machine:/depots/remote.depot PRODUCT
ERROR: The source depot specified using a host target selection
(host:/path). Installing from a remote source is not supported
in SRP environment. To install from a remote source, either
mount it locally or copy the software locally using swcopy.
To solve this problem, follow these steps:
1. Use the swcopy command to copy the depot to the local system.