From: Sage Weil Date: Thu, 21 Feb 2013 22:34:06 +0000 (-0800) Subject: install: ignore apt-get update failures on package removal X-Git-Tag: 1.1.0~2293 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c85ba56397ec72f9b79d117fff4dafde2ff84eb1;p=teuthology.git install: ignore apt-get update failures on package removal At that point we don't really care. Signed-off-by: Sage Weil --- diff --git a/teuthology/task/install.py b/teuthology/task/install.py index 9a745aaeb..f70bfa17c 100644 --- a/teuthology/task/install.py +++ b/teuthology/task/install.py @@ -148,6 +148,9 @@ def _remove_sources_list(remote): 'sudo', 'rm', '-f', '/etc/apt/sources.list.d/ceph.list', run.Raw('&&'), 'sudo', 'apt-get', 'update', + # ignore failure + run.Raw('||'), + 'true', ], stdout=StringIO(), )