From 3fc82909e9505f214e453e30c476a96d6a9df053 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 11 Jul 2014 15:45:50 -0700 Subject: [PATCH] fabfile: drop s/--assume-yes --no-install-recommends/-y/ to apt trusty doesn't like those options... and -y does the trick. Signed-off-by: Sage Weil --- fabfile.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/fabfile.py b/fabfile.py index 2dd2733..e75fba5 100644 --- a/fabfile.py +++ b/fabfile.py @@ -99,10 +99,11 @@ def _apt_install(*packages): 'env DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical', 'apt-get', '-q', + '-y', '-o', 'Dpkg::Options::=--force-confnew', 'install', - '--no-install-recommends', - '--assume-yes', +# '--no-install-recommends', +# '--assume-yes', '--', ] + list(packages))) @@ -118,11 +119,12 @@ def _apt_reinstall_for_backports(*packages): 'env DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical', 'apt-get', '-q', + '-y', '-o', 'Dpkg::Options::=--force-confnew', 'install', '--reinstall', - '--no-install-recommends', - '--assume-yes', +# '--no-install-recommends', +# '--assume-yes', '--', ] + list(packages))) -- 2.39.5