remove packages that are not needed