From 4558ed69259bfc8ced6c5f76a78ec6091376eea0 Mon Sep 17 00:00:00 2001 From: Henry Finucane Date: Mon, 29 Sep 2014 18:55:34 -0700 Subject: [PATCH] dpkg does not take a --force-yes option --- packaging/os/apt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/os/apt.py b/packaging/os/apt.py index 5c557900b76..13103c02320 100644 --- a/packaging/os/apt.py +++ b/packaging/os/apt.py @@ -358,7 +358,7 @@ def install_deb(m, debs, cache, force, install_recommends, dpkg_options): if m.check_mode: options += " --simulate" if force: - options += " --force-yes" + options += " --force-all" cmd = "dpkg %s -i %s" % (options, " ".join(pkgs_to_install)) rc, out, err = m.run_command(cmd)