GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PKG_VALIDATE (1)

NAME

pkg_validate - count checksum mismatches and missing files of packages

CONTENTS

Synopsis
Description
Options
Examples
Solving Problems
Compatibility
See Also
History
Author

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 especially 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 parameters 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 collection.

AUTHOR

Dominic Fandrey <kamikaze@bsdforen.de>
Search for    or go to Top of page |  Section 1 |  Main Index


Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.