From 9b87147a3c16a93334ecb4bf467dd8ab3d817dc5 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Tue, 2 Jun 2015 16:19:53 -0600 Subject: [PATCH] In _remove_deb(), check for .UR as well as .HR Signed-off-by: Zack Cerza --- teuthology/task/install.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/teuthology/task/install.py b/teuthology/task/install.py index d7ee43d128..8e8a7ae8bd 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('|'), -- 2.39.5