summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorIgor Karpov <iigorkarpov@users.noreply.github.com>2022-04-19 17:37:08 +0300
committerGitHub <noreply@github.com>2022-04-19 17:37:08 +0300
commitdbee2c5451cec9816ff97dd3ff46e6943d682adc (patch)
treec0d0f28a897a8a9b4861c8c90bd69c82adba0ca7 /packaging
parentf3c75fcc082699b622dce478462ae5f461d03997 (diff)
fix upgrading all currently installed packages when updating Netdata on Debian
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/installer/netdata-updater.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/installer/netdata-updater.sh b/packaging/installer/netdata-updater.sh
index 632804376d..e4647d1c16 100755
--- a/packaging/installer/netdata-updater.sh
+++ b/packaging/installer/netdata-updater.sh
@@ -675,7 +675,7 @@ update_binpkg() {
debian)
pm_cmd="apt-get"
repo_subcmd="update"
- upgrade_cmd="upgrade"
+ upgrade_cmd="--only-upgrade install"
pkg_install_opts="${interactive_opts}"
repo_update_opts="${interactive_opts}"
pkg_installed_check="dpkg -s"
@@ -684,7 +684,7 @@ update_binpkg() {
ubuntu)
pm_cmd="apt-get"
repo_subcmd="update"
- upgrade_cmd="upgrade"
+ upgrade_cmd="--only-upgrade install"
pkg_install_opts="${interactive_opts}"
repo_update_opts="${interactive_opts}"
pkg_installed_check="dpkg -s"