remove packages from index
remove dependencies that aren't needed