Virtualmin gpl install fails on Ubuntu 18.04

root@localhost:~# cat /etc/issue
Ubuntu 18.04.3 LTS \n \l
Running on a 1024MB KVM instance received the following message:

▣□□ Phase 1 of 3: Setup
Downloading RPM-GPG-KEY-virtualmin-6 [ OK! ]
Downloading RPM-GPG-KEY-webmin [ OK! ]
Installing Virtualmin 6 key [=>—]
[ERROR] Something went wrong with the previous command. Exiting.

Why on earth is he installing an RPM key? It looks like it’s trying to install a Centos system.


So I did a bit more exploring and looked at the log. It needed GnuPG which wasn’t installed.

I’ve encountered that problem as well. Just a heads-up; disabling and enabling a virtualhost breaks the MySQL user for that domain on my install: