repair_packages is an Apple tool for making sure that the permissions and flags on a package (a sort of record of a program's installation) are correct.
It will not harm anything. At worst it will do nothing. At best it can repair certain kinds of troubles with installed software.