compare array of rpms and remove non-existing one