def METHOD_NAME(f_pkg):
    ret["result"] = False
    ret["comment"] += "{} failed to install: {}".format(name, out)
    if "failed" in ret["changes"]:
        ret["changes"]["failed"].append(f_pkg)
    else:
        ret["changes"]["failed"] = [f_pkg]