Add repositories and packages needed for pretasks.