# File lib/chef/provider/package/yum.rb, line 240 def remove_package(name, version) if version run_command_with_systems_locale( :command => "yum -d0 -e0 -y #{@new_resource.options} remove #{name}-#{version}#{yum_arch}" ) else run_command_with_systems_locale( :command => "yum -d0 -e0 -y #{@new_resource.options} remove #{name}#{yum_arch}" ) end @yum.flush end