Virtualmin install, error: package is not installed, also, Failed to work out externally visible IP address

SYSTEM INFORMATION
OS type and version Alma Linux 9.5
Webmin version REQUIRED
Virtualmin version 7.4.0
Webserver version REQUIRED
Related packages SUGGESTED

I have reinstalled Alma Linux ISO, done no updates, and run the Virtualmin script.

I have seen two errors in the install.

Phase 2 of 4: Setup

error: package is not installed

Phase 4 of 4: Configuration

[21/21] Configuring Virtualmin
[28/Nov/2024:04:15:45 +0000] Failed to work out externally visible IP address virtual-server/virtual-server-lib-funcs.pl (line 18774)
Error

Failed to work out externally visible IP address virtual-server/virtual-server-lib-funcs.pl (line 18774)
Cleaning up

Apparently the IP issue has come up before: