Question

Nginx error on vestacp installation

  • Posted on December 12, 2014
  • webdotappAsked by webdotapp

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

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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}')

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/

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.