# File lib/chef/provider/package.rb, line 67
      def action_upgrade
        if @current_resource.version != candidate_version
          orig_version = @current_resource.version || "uninstalled"
          status = upgrade_package(@new_resource.package_name, candidate_version)
          if status
            @new_resource.updated_by_last_action(true)
          end
          Chef::Log.info("#{@new_resource} upgraded from #{orig_version} to #{candidate_version}")
        else
          Chef::Log.debug("#{@new_resource} is at the latest version - nothing to do")
        end
      end