|Scan all packages. This is the default action in case no packages have been specified.|
|Do not print status messages.|
|Do not expend shell glob patterns for package names.|
|Treat package names as regular expressions.|
|Treat package names as extended regular expressions.|
|Prints only the raw results, seperated by the delimiter. That means no summary, table header and table formatting.|
|Define the delimiter character. This is not limited to, but especially useful for raw printing. Note that only the first byte of C is used unless -r is also given.|
|Displays the available options.|
Packages are package names or patterns matching these. The allowed parameters have the same effects on package matching as with pkg_info(1).
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\*
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.
The script has been tested on FreeBSD 7.2-PRERELEASE
The pkg_validate script first appeared in the bsdadminscripts-3.0 collection.
Dominic Fandrey <firstname.lastname@example.org>