Information Technology Reference
In-Depth Information
the pkginfo file for the SUNWast package, use the following pkginfo com-
mand:
# pkginfo -l SUNWzipS
PKGINST: SUNWzipS
NAME: Source for the Info-Zip (zip) compression utility
CATEGORY: system
ARCH: sparc
VERSION: 11.9.0,REV=2001.10.18.00.44
BASEDIR: /
VENDOR: Sun Microsystems, Inc.
DESC: Source for the Info-Zip (zip) compression utility
PSTAMP: sfw8120011018004824
INSTDATE: Jul 19 2002 09:47
HOTLINE: Please contact your local service provider
STATUS: completely installed
FILES: 326 installed pathnames
3 shared pathnames
30 directories
1 executables
5012 blocks used (approx)
#
The pkginfo file, along with other package-related files for each installed package,
is located in the /var/sadm/pkg directory, within subdirectories with the same name
as the packages.
Obtaining Package Information Using the pkgparam
Command
You can display specific parameters associated with a particular package by
using the pkgparam command. The following examples list parameters of the
SUNWcsu package:
# pkgparam SUNWrcmds ARCH
sparc
# pkgparam SUNWrcmds VERSION
11.9.0,REV=2001.10.18.00.44
#
Checking a Package Using the pkgchk Command
You can check the integrity of the files and directories associated with a pack-
age by using the pkgcghk command. Any discrepancies are displayed. For
example, the group associated with the zipcloak.c file was changed to root to
create a discrepancy:
# pkgchk SUNWzipS
ERROR: /usr/share/src/zip/zipcloak.c
group name <bin> expected <root> actual
#
Search WWH ::




Custom Search