The install script is a bit broken it seems

Trying to install hestiacp on a newly deployed digitalocean vps. Before running the hestia installer i did a system upgrade (apt upgrade), after that i run the script and I get this eror:

Please wait, the installer is now checking for missing dependencies…

[ * ] Installing dependencies…
!!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!!

WARNING: The following packages are already installed
exim4*

It is highly recommended that you remove them before proceeding.

!!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!!

Would you like to remove the conflicting packages? [y/n] y
-bash: y: command not found

[7]+ Stopped bash hst-install.sh

This is the code used during install:

        read -p 'Would you like to remove the conflicting packages? [y/n] ' answer
        if [ "$answer" = 'y' ] || [ "$answer" = 'Y' ]; then
                apt-get -qq purge $conflicts -y
                check_result $? 'apt-get remove failed'
                unset $answer
        else
                check_result 1 "Hestia Control Panel should be installed on a clean server."
        fi

and I can’t see any problem with this code.It is a bit weird.

Anyways, you can use argument --force when executing the install script to avoid that question.

Just run apt remove exim4 …

i did, no help… i had to redeploy the vps.

i just redeployed a vps… launched the script right away and the output is:

Welcome to the Hestia Control Panel installer!

Please wait, the installer is now checking for missing dependencies...

[ * ] Installing dependencies...
root@vps:~#

It seems like it crashes or something happens. its displaying a root prompt right after

EDIT: this is the exact command

bash hst-install.sh --hostname vps --email [email protected] --password kljh342kòl --multiphp yes

Its a debian 12 vps

EDIT2: after waiting 5-10 minutes i tried to run the script again and i am getting this output:

Welcome to the Hestia Control Panel installer!

Please wait, the installer is now checking for missing dependencies…

[ * ] Installing dependencies…
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3083 (apt-get)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
Error: Package installation failed, check log file for more details.

impossible to install… i just tried to run apt remove exim4* and there is nothing installed… yet hestia installer is telling me:

Welcome to the Hestia Control Panel installer!

Please wait, the installer is now checking for missing dependencies…

[ * ] Installing dependencies…
!!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!!

WARNING: The following packages are already installed
exim4*

It is highly recommended that you remove them before proceeding.

!!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!! !!!

Would you like to remove the conflicting packages? [y/n] y
-bash: y: command not found

[5]+ Stopped

Try again the installation script but don’t use character ò in password, also, enclose it with single quotes…

2 Likes

that did the trick thank you, maybe you should fix that in those checkbox options on the website.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.