Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pkgchk(1M) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

pkgadd(1M)

pkgask(1M)

pkginfo(1M)

pkgrm(1M)

pkgtrans(1M)

pkgchk(1M)                                                       pkgchk(1M)

NAME
     pkgchk - check accuracy of packages

SYNOPSIS
     /usr/sbin/pkgchk [-l|-L|-acfqv] [-n|-N] [-x] [-p path1[,path2 ...]]
                      [-i file] [pkginst ...]

     /usr/sbin/pkgchk -d device [-l|-L|-v] [-p path1[,path2 ...]] [-i file]
                      [pkginst ...]

     /usr/sbin/pkgchk -m pkgmap [-e envfile] [-l|-L|-acfqv] [-n|-N] [-x]
                      [-i file] [-p path1[,path2 ...]]

DESCRIPTION
     pkgchk checks the accuracy of package objects. The command checks the
     integrity of directory structures and the files. Discrepancies are
     reported on stderr along with a detailed explanation of the problem.
     If either the -l option or the -L option is used, a list containing
     information on package objects is output in a list. A check is not
     run.

     The first synopsis defined above is used to check or list the contents
     and/or attributes of objects that are currently installed on the sys-
     tem. Package names may be listed on the command line, or by default
     the entire contents of a machine will be checked.

     The second synopsis is used to check or list the contents of a package
     which has been spooled on the specified device, but not installed.
     Note that attributes cannot be checked for spooled packages.

     The third synopsis is used to check or list the contents and/or attri-
     butes of objects which are described in the indicated pkgmap.

OPTIONS
     -a   Audits the file attributes only, does not check file contents.
          Default is to check both.

     -c   Audits the file contents only, does not check file attributes.
          Default is to check both.

     -f   Corrects file attributes if possible. If used with the -x option,
          it removes hidden files. When pkgchk is invoked with this option
          it creates directories, named pipes, links and special devices if
          they do not already exist.

     -q   Quiet mode. Does not give messages about missing files.

     -v   Verbose mode. Files are listed as processed.







Page 1                       Reliant UNIX 5.44                Printed 11/98

pkgchk(1M)                                                       pkgchk(1M)

     -l   Lists information on the selected files that make up a package. A
          check is not run.

          It is not compatible with the -a, -c, -f, -g, -v, and -L options.

     -L   Lists information on the selected files that make up a package as
          they are entered in the contents or pkgmap file. A check is not
          run.

          It is not compatible with the -a, -c, -f, -g, -v, and -l options.

     -n   Volatile or editable files are not checked. This should be used
          for most post-installation checking.

     -N   Volatile or editable files are always checked.

     -x   Searches exclusive directories, looking for files which exist
          that are not in the installation software database or the indi-
          cated pkgmap file.

     -p   Only checks the accuracy of the pathname or pathnames listed.
          pathname can be one or more pathnames separated by commas (or by
          white space, if the list is quoted).

     -i   Reads a list of pathnames from file and compares this list
          against the installation software database or the indicated
          pkgmap file. Pathnames which are not contained in inputfile are
          not checked.

     -d   Specifies the device on which a spooled package resides. device
          can be a full path name to a directory or the identifier for tape
          (for example /var/tmp). It can also be the device alias.

     -m   Requests that the package be checked against the pkgmap file
          pkgmap.

     -e   Requests that the pkginfo file named as envfile be used to
          resolve parameters noted in the specified pkgmap file.

     pkginst
          Specifies the package instance or instances to be checked. The
          format pkginst.* can be used to check all instances of a package.
          The default is to display all information about all installed
          packages.

SEE ALSO
     pkgadd(1M), pkgask(1M), pkginfo(1M), pkgrm(1M), pkgtrans(1M).







Page 2                       Reliant UNIX 5.44                Printed 11/98

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026