Report this

What is the reason for this report?

Nginx error on vestacp installation

Posted on December 12, 2014

Hello,

I am trying to install vestacp on Ubuntu 14.04 Droplet with previous nginx installed, when i try following command…

bash vst-install.sh

It gives following error…

Following packages are already installed:
nginx

It is highly recommended to remove them before proceeding.
If you want to force installation run this script with -f option:
Example: bash vst-install-ubuntu.sh --force

While i have already removed nginx using following…

sudo apt-get remove nginx

sudo apt-get purge nginx

sudo apt-get autoremove

Please help me to resolve this issue. thanks



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Run: dpkg --get-selections

You will see that nginx-commom is listed as deinstall state.

Just run:

sudo apt-get purge $(dpkg -l | grep '^rc' | awk '{print $2}')

Just like @ryanpq mentioned is better to start with a clean server. Destroy that droplet create a new one with ubuntu image only and then run the vesta cpanel script. Vesta will install all the necessary software including nginx.

if you need a control panel that will nicely fit into your current install, use webmin with nginx module http://www.justindhoffman.com/project/nginx-webmin-module , it even has a very beautiful theme now - http://theme.winfuture.it/

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.