fix centos7 gpg key issue (#12506)
maneamarius committed
Mar 24, 2022 at 13:16 UTC
5e3dba415dbc0a05f8fc331357c87ac1d41885ec
1 file changed
+2
-4
packaging/installer/kickstart.sh
+2
-4
@@ -990,11 +990,9 @@ netdata_avail_check() {
990
check_special_native_deps() {
991
if [ "${DISTRO_COMPAT_NAME}" = "centos" ] && [ "${SYSVERSION}" = "7" ]; then
992
progress "Checking for libuv availability."
993
- # shellcheck disable=SC2086
994
- if ${pm_cmd} search ${interactive_opts} -v libuv | grep -q "No matches found"; then
993
+ if ${pm_cmd} search --nogpgcheck -v libuv | grep -q "No matches found"; then
994
progress "libuv not found, checking for EPEL availability."
996
- # shellcheck disable=SC2086
997
- if ${pm_cmd} search ${interactive_opts} -v epel-release | grep -q "No matches found"; then
995
+ if ${pm_cmd} search --nogpgcheck -v epel-release | grep -q "No matches found"; then
996
warning "Unable to find a suitable source for libuv, cannot install using native packages on this system."
997
return 1
998
else