Monday, November 16, 2009

Checking a Package

You can use the pkgchk command to check the accuracy of installed files, including the integrity of directory structures and files in a package. You can also use this command to display the information about the package files. The detected discrepancies are written to the standard error device along with a detailed explanation of the problem. The syntax for the pkhchk command is as follows:
pkgchk [-a|-c] -1] [-p [-v]
The options are described here:
•-a|c. The -a option means check the file attributes only and not the file contents, whereas the -c option means check the file contents only and not the file attributes. The default is to check both the file attributes and the file contents.
•-l. This option specifies to list the information about the files contained in the package.
•-p . This option specifies to limit the check to the files whose path names are given in a comma or white space-delimited list specified by .
•-v. This option specifies the verbose mode.
. This option specifies the space-delimited list of packages. By default, all the installed packages on the system are checked.
You can also use the pkgchk command with the -d option to check the content of the packages that have not yet been installed but were spooled on the device specified by , which could be a directory, tape, or floppy disk.
Now that you know how the pkgchk command works, here are some practical scenarios and their solutions.

1 comment:

  1. there are many ways of repair damaged pdf, try this application if you’d like to get better results

    ReplyDelete