run rebuild per package, and run -u in order to avoid useless rebuilds