[installdependencies.sh] refactor: support microdnf, handle .deb installation errors
#4040
+47
−95
microdnf, handle .deb installation errors
#4040