Mac Developer Library Developer
Search

 

This manual page is for Mac OS X version 10.9

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • To learn how the manual is organized or to learn about command syntax, read the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Developer Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.




repair_packages(8)        BSD System Manager's Manual       repair_packages(8)

NAME
     repair_packages -- verify or repair filesystem permissions and flags for packages.

SYNOPSIS
     repair_packages [arguments]

DESCRIPTION
     repair_packages is used by Disk Utility to verify or repair permissions on installed packages.

ARGUMENTS
     --volume      Perform all operations on the specified volume or home directory.  The root volume '/'
                   will be used if unspecified.

     --list-standard-pkgs
                   Output the list of package-id strings corresponding to receipts in the installer's
                   receipt database that will be verified or repaired by the --standard-pkgs flag.

     --verify      Verify the specified package(s).

     --repair      Repair the specified package(s).

     --pkg package-id
                   Add the specified package to the list of packages to verify or repair.

     --standard-pkgs
                   Add the standard packages to the list of packages to verify or repair.  Use --list-stan-dard-pkgs --list-standard-pkgs
                   dard-pkgs to view this list.

     --output-format #
                   Use a special output format selected by #. Different output formats may be optimized for
                   human or machine readability. The default output-format is '0', and is a verbose, human-readable humanreadable
                   readable format.

NOTES
     repair_packages only runs on 10.6 or later systems. To verify or repair permissions on earlier systems,
     reboot with a Tiger or Leopard system disk and verify or repair permissions with the repair_packages
     version on that disk.

SEE ALSO
     pkgutil(1)

     http://lists.apple.com/archives/installer-dev

BUGS
     repair_packages does not verify file contents or restore missing files; It can only verify or repair
     filesystem permissions.

Mac OS                         October 11, 2013                         Mac OS

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.

Feedback