Checking CA certificates package Failed with error 100

SYSTEM INFORMATION
OS type and version Ubuntu 24.04.1 LTS
Webmin version —
Virtualmin version 7.4.0
Webserver version —
Related packages SUGGESTED

Hi there.
Just trying to install with script the Virtualmin on my Ubuntu server 24.04.1 LTS and I am getting this error: Checking CA certificates package Failed with error 100.
Have reinstalled CA certificates already… no luck.
How can I fix that?

Perhaps follow the hint from apt, fix the broken packages and try again

SOLUTION:

$ sudo apt --fix-broken install
...
Failed to stop mariadb.service: Unit mariadb.service not loaded.
...
$ sudo snap stop nextcloud
$ sudo apt --fix-broken install