Remove useless packages.