Package repair