@cryptotaxi247 / netdata-1 / commits / f60c9e095

Improve some of the error messages in the kickstart script. (#15061)

Austin S. Hemmelgarn committed May 30, 2023 at 12:54 UTC f60c9e0953d235104a7d152628f98bf2a568f85b
1 file changed +3 -3
packaging/installer/kickstart.sh
+3 -3
@@ -719,7 +719,7 @@ confirm_root_support() {
719 fi
720
721 if [ -z "${ROOTCMD}" ]; then
722 - fatal "We need root privileges to continue, but cannot find a way to gain them (we support sudo, doas, and pkexec). Either re-run this script as root, or set \$ROOTCMD to a command that can be used to gain root privileges." F0201
722 + fatal "This script needs root privileges to install Netdata, but cannot find a way to gain them (we support sudo, doas, and pkexec). Either re-run this script as root, or set \$ROOTCMD to a command that can be used to gain root privileges." F0201
723 fi
724 fi
725 }
@@ -1344,7 +1344,7 @@ common_dnf_opts() {
1344 }
1345
1346 try_package_install() {
1347 - failed_refresh_msg="Failed to refresh repository metadata. ${BADNET_MSG} or by misconfiguration of one or more rpackage repositories in the system package manager configuration."
1347 + failed_refresh_msg="Failed to refresh repository metadata. ${BADNET_MSG} or incompatibilities with one or more third-party package repositories in the system package manager configuration."
1348
1349 if [ -z "${DISTRO_COMPAT_NAME}" ] || [ "${DISTRO_COMPAT_NAME}" = "unknown" ]; then
1350 warning "Unable to determine Linux distribution for native packages."
@@ -1487,7 +1487,7 @@ try_package_install() {
1487 if [ -n "${repo_subcmd}" ]; then
1488 # shellcheck disable=SC2086
1489 if ! run_as_root env ${env} ${pm_cmd} ${repo_subcmd} ${repo_update_opts}; then
1490 - fatal "${failed_refresh_msg}" F0205
1490 + fatal "${failed_refresh_msg} In most cases, disabling any third-party repositories on the system and re-running the installer with the same options should work. If that does not work, consider using a static build with the --static-only option instead of native packages." F0205
1491 fi
1492 fi
1493 else