From e82289d27ffa7dfd0069d3d11d8c8c7ed7db1b72 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 14 Jun 2013 16:24:46 -0700 Subject: [PATCH] install: --force when installing the rpm Otherwise we get annoying errors if a different version of the same pkg is already installed. Blah! Signed-off-by: Sage Weil --- ceph_deploy/install.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ceph_deploy/install.py b/ceph_deploy/install.py index d3bc8f5..12f26f7 100644 --- a/ceph_deploy/install.py +++ b/ceph_deploy/install.py @@ -47,6 +47,7 @@ def install_suse(release, codename, version_kind, version): 'rpm', '-Uvh', '--replacepkgs', + '--force', '--quiet', '{url}noarch/ceph-release-1-0.noarch.rpm'.format( url=url, @@ -143,6 +144,7 @@ def install_fedora(release, codename, version_kind, version): 'rpm', '-Uvh', '--replacepkgs', + '--force', '--quiet', '{url}noarch/ceph-release-1-0.fc{release}.noarch.rpm'.format( url=url, @@ -214,6 +216,7 @@ def install_centos(release, codename, version_kind, version): 'rpm', '-Uvh', '--replacepkgs', + '--force', '--quiet', '{url}noarch/ceph-release-1-0.el6.noarch.rpm'.format( url=url, -- 2.47.3