TODO [cw,2010/11/23]: this is a simple but inefficient impl. Do it for realz.
Note: only invoke this method once all Packages and PackageVersions have been added.
[Validate]