Remove duplicate packages.