Repairing dependencies