invalidating all packages before rebuilding