From: Sage Weil Date: Sun, 28 Apr 2013 17:28:52 +0000 (-0700) Subject: install.upgrade: apt-get install instead of upgrade X-Git-Tag: 1.1.0~2167^2~13 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=de745dba8a4f588fd01c7f7be196c17fef8b7fc7;p=teuthology.git install.upgrade: apt-get install instead of upgrade Upgrade does not actually upgrade in some cases; use install! Signed-off-by: Sage Weil --- diff --git a/teuthology/task/install.py b/teuthology/task/install.py index 8fd719577..85c1f549f 100644 --- a/teuthology/task/install.py +++ b/teuthology/task/install.py @@ -473,7 +473,7 @@ def _upgrade_ceph_packages(ctx, remote, debs, ceph_branch): 'sudo', 'apt-get', 'update', run.Raw('&&'), 'sudo', 'DEBIAN_FRONTEND=noninteractive', 'apt-get', '-y', '--force-yes', '-o', run.Raw('Dpkg::Options::="--force-confdef"'), '-o', run.Raw('Dpkg::Options::="--force-confold"'), - 'upgrade', + 'install', ] + ['%s=%s' % (d, version) for d in debs], stdout=StringIO(), )