After the news about the CentOS 8 EOL, after using CentOS for many years and fixing some problems with CentOS 8 and Virtualmin I decided to switch to Ubuntu. My hosting provider installed automatically on my VPS Ubuntu 20.04 with Webmin without LAMP. I have tried to install Virtualmin and this is what I get:
▣▣□ Phase 2 of 3: Installation
Installing Webmin [ ]
Installing Usermin [ ]
Installing fail2ban [ ]
Removing nginx (if installed) before LAMP installation. [ ]
Removing unneeded packages that could confict with LAMP stack. [ ]
Installing postfix [ ]
Installing virtualmin-lamp-stack [ ]
Installing Virtualmin and plugins [ERROR] Failed with error: 100
[ ✘ ]
Minimal template?
I would guess you didn’t do a system update/upgrade before launching the installer. That would cause apt to throw an error like that.
To be honest I’m not sure it would work without a reinstall, since the Virtualmin install is now broken.
However, if it fails on the same file it wouldn’t hurt to try a different mirror than your providers, f.ex. ubuntu’s own.
The package isn’t in the security repos, it’s in the regular Ubuntu archives.
Post your sources.list here, just so we can double check what needs to be changed.
For now it’s pointing towards Contabo mirrors which should be fine but apparently is not at the moment (which is just another reason you should find another provider IMO).
I’ve tried everything that I found. I think that the Contabo mirrors are down. I will contact them as well. After many attempts I could install it with the following commands, but it must be done before the Virtualmin installation. If not, the installation will break everything:
That’s what I kept on suggesting you, to switch to the Ubuntu official mirrors!
Maybe the installer would have run normally, though I have no clue why it fails when running the install script but works when installing manually.
Also, just saw your edit…
Another VPS with same provider?
Then it must be something strange with Contabo’s template.
I’ve changed the mirror in the /etc/apt/sources.list to:
deb http://de.archive.ubuntu.com/ubuntu focal main
Tried to install with:
sudo apt-get install -y libsub-quote-perl
What I get:
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package libsub-quote-perl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package ‘libsub-quote-perl’ has no installation candidate
I’ve tried to installed it before virtualmin because of those huge amount of errors that the virtual in installation triggered because of that dead contabo mirror.
I get that, but seeing that the Contabo mirror seems broken, try changing to the Ubuntu repos, run apt update && apt upgrade, reboot and run the Virtualmin installation