def _safe_unlink_pkg(env, pkg_str, brew_cmd):
    with settings(warn_only=True):
        with quiet():
            env.safe_run("{brew_cmd} unlink {pkg_str}".format(**locals()))
Unlink packages which can cause issues with a Linux system.
dataset/ETHPy150Open chapmanb/cloudbiolinux/cloudbio/package/brew.py/_safe_unlink_pkg