class Chef::Provider::Package::Dnf

def resolved_package_lock_names(names)

this will resolve things like `/usr/bin/perl` or virtual packages like `mysql` -- it will not work (well? at all?) with globs that match multiple packages
def resolved_package_lock_names(names)
  names.each_with_index.map do |name, i|
    unless name.nil?
      if magical_version(i).version.nil?
        available_version(i).name
      else
        magical_version(i).name
      end
    end
  end
end