The host_package_install.sh needs to do extra checking to determine if the system is using rpm or dpkg for host package management. One can have both rpm and dpkg executables installed and still not know which tool is used to manage the system.
warnings can be ignored or uninstall the unused host tool (rpm|dpkg).
On rpm based system, install dpkg then run any configure .