removing duplicates from the list of packages
Fixed typo in awk line