Remove irrelevant packages