Hi, trying to install Virtualmin on Ubuntu 24 cloud-init version and it is failing.
root@ubuntu24:~# sudo sh -c “$(curl -fsSL https://software.virtualmin.com/gpl/scripts/virtualmin-install.sh)” – --bundle LEMP -m
[INFO] Installation log is written to /root/virtualmin-install.log
Welcome to the Virtualmin GPL installer, version 7.5.2
This script must be run on a freshly installed supported OS. It does not
perform updates or upgrades (use your system package manager) or license
changes (use the “virtualmin change-license” command).
The systems currently supported by the install script are:
Red Hat Enterprise Linux and derivatives
- RHEL 8 and 9 on x86_64
- Alma and Rocky 8 and 9 on x86_64
- CentOS 7 on x86_64
Debian Linux and derivatives
- Debian 10, 11 and 12 on i386 and amd64
- Ubuntu 20.04 LTS, 22.04 LTS and 24.04 LTS on i386 and amd64
If your OS/version/arch is not listed, installation will fail. More
details about the systems supported by the script can be found here:
https://www.virtualmin.com/os-support
The selected package bundle is LEMP and the size of install is
minimal. It will require up to 1 GB of disk space.
Exit and re-run this script with --help flag to see available options.
Continue? (y/n) y
▣:white_medium_square:![]()
Phase 1 of 4: Check
Checking system time ![]()
Checking Perl installation ![]()
Checking CA certificates package ![]()
Checking HTTP client ![]()
Checking GPG package ![]()
▣▣:white_medium_square:
Phase 2 of 4: Setup
Downloading Virtualmin 7 key ![]()
Installing Virtualmin 7 key ![]()
Downloading repository metadata ![]()
Enabling universe repositories, if not already available ![]()
Disabling cdrom: repositories ![]()
Cleaning up software repo metadata ![]()
▣▣▣◻ Phase 3 of 4: Installation
Checking and installing system package updates ![]()
Installing Virtualmin 7 and all related packages ✘
[ERROR] Something went wrong. Exiting.
[ERROR] The last few log entries were:
Processing triggers for man-db (2.12.0-4build2) …
Processing triggers for dbus (1.14.10-4ubuntu4.1) …
Processing triggers for nginx (1.24.0-2ubuntu7.5) …
Triggering nginx reload …
Processing triggers for php8.3-cli (8.3.6-0ubuntu0.24.04.5) …
Processing triggers for php8.3-cgi (8.3.6-0ubuntu0.24.04.5) …
Processing triggers for dovecot-core (1:2.3.21+dfsg1-2ubuntu6.1) …
Processing triggers for php8.3-fpm (8.3.6-0ubuntu0.24.04.5) …
Processing triggers for mariadb-server (1:10.11.13-0ubuntu0.24.04.1) …
Errors were encountered while processing:
postfix
postfix-pcre
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
[2025-11-25 11:38:50 UTC] [INFO] Installing Virtualmin 7 and all related packages: [2025-11-25 11:38:50 UTC] [INFO] Failed with error: 100
