I followed the instructions but got error below:
[ERROR] autoinstaller::Adapter::DebianAdapter::_updatePackagesIndex: Can't call method "set" on an undefined value at /usr/share/perl5/Debconf/FrontEnd.pm line 126, <GEN0> line 5
Edit
only solved the temporarily
sudo apt-get install debconf --reinstallor
or
sudo apt-get update --fix-missingsudo apt-get autoremove && sudo apt-get clean && sudo apt-get install -f
the error
[ERROR] iMSCP::Stepper::step: Could not enable the cron service: main::setupAskServerHostname: Unable to find server hostname (server misconfigured?): hostname: Name or service not known at /usr/local/src/imscp-1.2.11/engine/PerlLib/iMSCP/Service.pm line 87.
autoinstaller::Functions::install: An error occurred while performing installation steps