# The install script is a bit broken it seems

**URL:** <https://forum.hestiacp.com/t/the-install-script-is-a-bit-broken-it-seems/13468>\
**Category:** General Questions\
**Created:** [March 16, 2024, 10:36pm UTC](https://forum.hestiacp.com/t/the-install-script-is-a-bit-broken-it-seems/13468 "2024-03-16T22:36:05Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![InvisibleRasta](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/invisiblerasta/32/1907_2.png) [@InvisibleRasta](https://forum.hestiacp.com/u/InvisibleRasta)\
**Post date:** [March 16, 2024, 10:36pm UTC](https://forum.hestiacp.com/t/the-install-script-is-a-bit-broken-it-seems/13468/1 "2024-03-16T22:36:05Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [March 16, 2024, 11:07pm UTC](https://forum.hestiacp.com/t/the-install-script-is-a-bit-broken-it-seems/13468/2 "2024-03-16T23:07:31Z")

</div>

This is the code used during install:

```auto
        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.

---

<div class="post-metadata">

**Author:** ![eris](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/eris/32/1241_2.png) [@eris](https://forum.hestiacp.com/u/eris)\
**Post date:** [March 16, 2024, 11:19pm UTC](https://forum.hestiacp.com/t/the-install-script-is-a-bit-broken-it-seems/13468/3 "2024-03-16T23:19:20Z")

</div>

Just run apt remove exim4 …

---

<div class="post-metadata">

**Author:** ![InvisibleRasta](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/invisiblerasta/32/1907_2.png) [@InvisibleRasta](https://forum.hestiacp.com/u/InvisibleRasta)\
**Post date:** [March 16, 2024, 11:22pm UTC](https://forum.hestiacp.com/t/the-install-script-is-a-bit-broken-it-seems/13468/4 "2024-03-16T23:22:53Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![InvisibleRasta](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/invisiblerasta/32/1907_2.png) [@InvisibleRasta](https://forum.hestiacp.com/u/InvisibleRasta)\
**Post date:** [March 16, 2024, 11:34pm UTC](https://forum.hestiacp.com/t/the-install-script-is-a-bit-broken-it-seems/13468/5 "2024-03-16T23:34:45Z")

</div>

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

```auto
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 [info@blabla.com](mailto:info@blabla.com) --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.

---

<div class="post-metadata">

**Author:** ![InvisibleRasta](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/invisiblerasta/32/1907_2.png) [@InvisibleRasta](https://forum.hestiacp.com/u/InvisibleRasta)\
**Post date:** [March 16, 2024, 11:47pm UTC](https://forum.hestiacp.com/t/the-install-script-is-a-bit-broken-it-seems/13468/6 "2024-03-16T23:47:35Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [March 16, 2024, 11:48pm UTC](https://forum.hestiacp.com/t/the-install-script-is-a-bit-broken-it-seems/13468/7 "2024-03-16T23:48:09Z")

</div>

> [@InvisibleRasta](#):
>
> EDIT: this is the exact command
> 
> > bash hst-install.sh --hostname vps --email [info@blabla.com](mailto:info@blabla.com) --password kljh342kòl --multiphp yes

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

---

<div class="post-metadata">

**Author:** ![InvisibleRasta](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/invisiblerasta/32/1907_2.png) [@InvisibleRasta](https://forum.hestiacp.com/u/InvisibleRasta)\
**Post date:** [March 16, 2024, 11:51pm UTC](https://forum.hestiacp.com/t/the-install-script-is-a-bit-broken-it-seems/13468/8 "2024-03-16T23:51:49Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://forum.hestiacp.com/uploads/default/original/1X/d9a5b68bf50ced83e880b56452e592b204761b19.png) [@system](https://forum.hestiacp.com/u/system)\
**Post date:** [April 15, 2024, 11:51pm UTC](https://forum.hestiacp.com/t/the-install-script-is-a-bit-broken-it-seems/13468/9 "2024-04-15T23:51:50Z")

</div>

Closed on April 15, 2024, 11:51pm UTC

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