Installing virtualmin-lamp-stack [ERROR] failed with error: 100

I’m having issues installing Virtualmin/webmin. Here is what I’m seeing. Can someone help me get this set up correctly?

▣□□ Phase 1 of 3: Setup
Enabling PHP 7 PPA [ :heavy_check_mark: ]
Downloading RPM-GPG-KEY-virtualmin-6 [ :heavy_check_mark: ]
Downloading RPM-GPG-KEY-webmin [ :heavy_check_mark: ]
Installing Virtualmin 6 key [ :heavy_check_mark: ]
Installing Webmin key [ :heavy_check_mark: ]
Updating apt metadata [ :heavy_check_mark: ]
Downloading repository metadata [ :heavy_check_mark: ]
Enabling universe repositories, if not already available [ :heavy_check_mark: ]
Disabling cdrom: repositories [ :heavy_check_mark: ]
Cleaning out old metadata [ :heavy_check_mark: ]

▣▣□ Phase 2 of 3: Installation
Installing Webmin [ :heavy_check_mark: ]
Installing Usermin [ :heavy_check_mark: ]
Installing fail2ban [ :heavy_check_mark: ]
Removing nginx (if installed) before LAMP installation. [ :heavy_check_mark: ]
Removing unneeded packages that could confict with LAMP stack. [ :heavy_check_mark: ]
Installing postfix [ :heavy_check_mark: ]
Installing virtualmin-lamp-stack [ERROR] Failed with error: 100
[ ✘ ]

[ERROR] Something went wrong. Exiting.
[ERROR] The last few log entries were:
Recommends: jailkit but it is not going to be installed
Recommends: postgrey but it is not going to be installed
Recommends: php-mysql but it is not installable
Recommends: php-mbstring but it is not installable
Recommends: php7.2-mysql but it is not installable
Recommends: php7.2-mbstring but it is not installable
Recommends: libconfig-inifiles-perl but it is not going to be installed
Recommends: milter-greylist but it is not going to be installed
Recommends: unrar but it is not going to be installed
Recommends: p7zip but it is not going to be installed
Recommends: certbot but it is not installable
E: Unable to correct problems, you have held broken packages.
Installing virtualmin-lamp-stack: [2020-03-17 08:20:37 UTC] [ERROR] Failed with error: 100
[2020-03-17 08:20:37 UTC] [ERROR] Something went wrong. Exiting.
[2020-03-17 08:20:37 UTC] [ERROR] The last few log entries were:
root@ip-172-31-27-79:~# sudo /bin/sh install.sh --help
Usage: install.sh [options]

If called without arguments, installs Virtualmin.

–uninstall|-u - Removes all Virtualmin packages (do not use on a production system)
–help|-h - This message
–force|-f - Skip confirmation message
–hostname|-n - Set fully qualified hostname
–verbose|-v - Verbose
–setup|-s - Setup software repositories and exit (no installation or configuration)
–minimal|-m - Install a smaller subset of packages for low-memory/low-resource systems
–bundle|-b - Choose bundle to install (LAMP or LEMP, defaults to LAMP)
–disable - Disable feature [SCL]

Hi,

What do you have on /root/virtualmin-install.log file?

Possible solutions could be:

  1. chmod 755 /usr/bin/dpkg - should be set by default but who knows (also possible apt-get install --reinstall dpkg)
  2. apt-get remove dpkg-dev - might cause issues in some cases
  3. apt-get clean
  4. apt-get update && apt-get upgrade.

I’m still getting the same error.

This is what I get when I try to look at the /root/virtualmin-install.log file

root@ip-172-31-27-79:~# /root/virtualmin-install.log
-bash: /root/virtualmin-install.log: Permission denied
root@ip-172-31-27-79:~#

Oops, I responded to the wrong thing. Ignore my old conversation comment!

This looks like you’re installing on an unsupported distro/version.