# PaCkAgE DaTaStReAm
SUNWrsc 1 3266
# end of header
SUNW_PRODVERS=2.2.1
SUNW_PKGVERS=1.0
PKG=SUNWrsc
NAME=Remote System Control
DESC=Sun Remote System Control system software
ARCH=sparc
VENDOR=Sun Microsystems, Inc.
The Tools
Tools
Descriptions
pkgtrans
Transform packages from one format to another
pkgadd
Install a package to the system
pkgrm
Remove a package from the system
pkginfo
Display information about a package
pkgchk
Verify the installation state of a package
pkgtrans
This will transform the system package into the "data stream" format:
Processing package instance <SUNWvts> from
</cdrom/sol_10_sparc_4/Solaris_10/ExtraValue/CoBundled/SunVTS_6.0/Packages>
SunVTS Framework(sparc) 6.0,REV=2004.08.18.12.00
Copyright 2004 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Using </opt> as the package base directory.
## Processing package information.
## Processing system information.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of <SUNWvts> [y,n,?] y
Installing SunVTS Framework as <SUNWvts>
## Installing part 1 of 1.
9213 blocks
Installation of <SUNWvts> was successful.
Processing package instance <SUNWrsc> from </tmp/SUNWrsc.pkg>
Remote System Control(sparc) 2.2.1,REV=2002.02.11
Copyright 2001 Sun Microsystems, Inc. All rights reserved.
Using </> as the package base directory.
## Processing package information.
## Processing system information.
15 package pathnames are already properly installed.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
Installing Remote System Control as <SUNWrsc>
## Installing part 1 of 1.
10499 blocks
Installation of <SUNWrsc> was successful.
## Downloading...
..............25%..............50%..............75%..............100%
## Download Complete
Processing package instance <SUNWrsc> from
<http://instructor/packages/SUNWrsc.pkg>
Remote System Control(sparc) 2.2.1,REV=2002.02.11
Copyright 2001 Sun Microsystems, Inc. All rights reserved.
Using </> as the package base directory.
## Processing package information.
## Processing system information.
15 package pathnames are already properly installed.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
Installing Remote System Control as <SUNWrsc>
## Installing part 1 of 1.
10499 blocks
Installation of <SUNWrsc> was successful.
Spool
The spool is where packages go (/var/spool/pkg). If, for example, on a Sun CD, we want to install a package and also have it copied to the spool directory, here's an example:
The following package is currently installed:
SUNWapchr Apache Web Server (root)
(sparc) 11.10.0,REV=2004.08.20.02.37
Do you want to remove this package? [y,n,?,q] y
## Removing installed package instance <SUNWapchr>
## Verifying package dependencies.
WARNING:
The <SUNWapchu> package depends on the package
currently being removed.
WARNING:
The <SUNWapchd> package depends on the package
currently being removed.
WARNING:
The <SUNWipplr> package depends on the package
currently being removed.
WARNING:
The <SUNWserweb> package depends on the package
currently being removed.
Dependency checking failed.
Do you want to continue with the removal of this package [y,n,?,q] y
## Processing package information.
## Removing pathnames in class <initd>
/etc/rcS.d/K16apache
/etc/rc3.d/S50apache
/etc/rc2.d/K16apache
(output ommited for brevity)
/etc/apache/httpd.conf-example
/etc/apache/README.Solaris
/etc/apache <shared pathname not removed>
/etc <shared pathname not removed>
## Updating system information.
Removal of <SUNWapchr> was successful.
The following package is currently spooled:
SUNWauda Audio Applications
(sparc) 11.10.0,REV=2004.09.03.08.15
Do you want to remove this package? [y,n,?,q] y
Removing spooled package instance <SUNWauda>
pkgtrans
To transform packages into a stream package, it's quite simple:
The following packages are available:
1 SUNWftpr FTP Server, (Root)
(sparc) 11.10.0,REV=2004.12.11.01.30
2 SUNWftpu FTP Server, (Usr)
(sparc) 11.10.0,REV=2004.12.11.01.30
3 SUNWzlib The Zip compression library
(sparc) 11.10.0,REV=2004.12.10.05.25
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: q
prodreg
This provides a graphical interface for managing packages, similar to Solaris installation:
Package Locations
To avoid risking damage to the main system, packages are installed in specific locations: