From: Zack Cerza Date: Tue, 2 Jun 2015 22:19:53 +0000 (-0600) Subject: In _remove_deb(), check for .UR as well as .HR X-Git-Tag: 1.1.0~923^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F514%2Fhead;p=teuthology.git In _remove_deb(), check for .UR as well as .HR Signed-off-by: Zack Cerza --- diff --git a/teuthology/task/install.py b/teuthology/task/install.py index d7ee43d12..8e8a7ae8b 100644 --- a/teuthology/task/install.py +++ b/teuthology/task/install.py @@ -608,7 +608,9 @@ def _remove_deb(ctx, config, remote, debs): args=[ 'dpkg', '-l', run.Raw('|'), - 'grep', '^.HR', + # Any package that is unpacked or half-installed and also requires + # reinstallation + 'grep', '^.\(U\|H\)R', run.Raw('|'), 'awk', '{print $2}', run.Raw('|'),