diff --git a/admin/install-s3.sh b/admin/install-s3.sh index a08c80b54a..3537c4d92f 100755 --- a/admin/install-s3.sh +++ b/admin/install-s3.sh @@ -160,7 +160,7 @@ elif [ "$UNAME" = "Linux" ] ; then exit 1 fi echo "... installing .rpm" - do_with_root rpm -Uvh --replacepkgs "$FILE" + do_with_root rpm -U --force "$FILE" else echo "Unsupported Linux distribution." diff --git a/app/meteor/update.js b/app/meteor/update.js index e2a4036d6d..e3ad5054c8 100644 --- a/app/meteor/update.js +++ b/app/meteor/update.js @@ -137,7 +137,7 @@ updater.get_manifest(function (manifest) { "." + rpm_arch + ".rpm"; download_callback = function (rpm_path) { - var proc = run_with_root('rpm', ['-Uvh', '--replacepkgs', rpm_path]); + var proc = run_with_root('rpm', ['-U', '--force', rpm_path]); proc.on('exit', function (code, signal) { if (code !== 0 || signal) { console.log("failed to install rpm");