    # File lib/chef/provider/package/yum.rb, line 227
            def upgrade_package(name, version)
              # If we're not given a version, running update is the correct
              # option. If we are, then running install_package is right.
              unless version
                run_command_with_systems_locale(
                  :command => "yum -d0 -e0 -y #{@new_resource.options} update #{name}#{yum_arch}"
                )
                @yum.flush
              else
                install_package(name, version)
              end
            end