Dedupes packages with identical names, whose version numbers match based on a given requirement.