Installation error on ubuntu 20.04

OS type and version Ubuntu 20.04 LTS
Webmin version Installation
Virtualmin version Installation
Related packages SUGGESTED

▣▣▣◻ Phase 3 of 4: Installation
Checking and installing system package updates :heavy_check_mark:
Installing Virtualmin 7 and all related packages [ERROR] Failed with error: 100

[ERROR] Something went wrong. Exiting.
[ERROR] The last few log entries were:
create mode 100644 webmin/webmin.acl
create mode 100644 webmin/webmin/config
create mode 100644 webmin/webmincron/config
create mode 100644 webmin/webmincron/crons/1695136426267076.cron
create mode 100644 webmin/webmincron/crons/1695136431267353.cron
create mode 100644 webmin/webmincron/crons/1695136469269229.cron
create mode 100644 webmin/webmincron/crons/1695136477269229.cron
create mode 100644 webmin/webmincron/crons/1695136478269229.cron
create mode 100644 webmin/webminlog/config
create mode 100644 webmin/xinetd/config
create mode 100644 webmin/xterm/config
E: Sub-process /usr/bin/dpkg returned an error code (1)
Installing Virtualmin 7 and all related packages: [2023-09-19 15:17:46 UTC] [ERROR] Failed with error: 100
[2023-09-19 15:17:46 UTC] [ERROR] Something went wrong. Exiting.
[2023-09-19 15:17:46 UTC] [ERROR] The last few log entries were:

There was a bug in the 7.1.2 version of the install script. I think you have that version. (See: Virtualmin install script version 7.1.2 released - #2 by Joe)

Unfortunately, it’s a pretty nasty bug that puts the spamassassin package into an unconfigured state that is annoying to get out of. I recommend starting over with a fresh OS install and the 7.1.0 version of the script.

If you don’t have the 7.1.2 version of the installer script, then it’s a different problem, and we need to see more of the log, probably. (But, this is where the 7.1.2 version fails, so I think that’s what you have.)