pkg_validate man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

PKG_VALIDATE(1)		  BSD General Commands Manual	       PKG_VALIDATE(1)

NAME
     pkg_validate — count checksum mismatches and missing files of packages

SYNOPSIS
     pkg_validate [-aGxXrdh] [packages]

DESCRIPTION
     The pkg_validate script uses pkg_info(1) to check for ports with checksum
     mismatches or missing files.

     Only invalid packages are printed out in columns showing the checksum
     mismatch (csum), missing files (miss), package name (package) and package
     origin (origin).

     Unless -r is defined, the last line is a summary.

OPTIONS
     The following options are available:

     -a --all
	     Scan all packages. This is the default action in case no packages
	     have been specified.

     -c --clean
	     Do not print status messages.

     -G --no-glob-pattern
	     Do not expend shell glob patterns for package names.

     -x --regex
	     Treat package names as regular expressions.

     -X --extended-regex
	     Treat package names as extended regular expressions.

     -r --raw-print
	     Prints only the raw results, seperated by the delimiter. That
	     means no summary, table header and table formatting.

     -dC --delimiterC
	     Define the delimiter character. This is not limited to, but espe‐
	     cially useful for raw printing. Note that only the first byte of
	     C is used unless -r is also given.

     -h --help
	     Displays the available options.

     Packages are package names or patterns matching these. The allowed param‐
     eters have the same effects on package matching as with pkg_info(1).

EXAMPLES
     To check all your packages run:

	   pkg_validate

     To check all sql related packages with | as delimiter in raw format run:

	   pkg_validate -rd\| \*sql\*

SOLVING PROBLEMS
     There is no general rule on how to act about damaged packages, a good way
     to start is to closer inspect the package using the command:

	   pkg_info -g <package>

     Many files are expected to change and have a checksum mismatch (e.g.
     files that contain cached data). Often missing files are just errors in
     the plist and do not affect the port. Only a manual inspection can bring
     clarity.

COMPATIBILITY
     The script has been tested on FreeBSD 7.2-PRERELEASE

SEE ALSO
     bsdadminscripts(1), pkg_info(1)

HISTORY
     The pkg_validate script first appeared in the bsdadminscripts-3.0 collec‐
     tion.

AUTHOR
     Dominic Fandrey <kamikaze@bsdforen.de>

BSD				April 23, 2009				   BSD
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net