[Bug 1479477] Re: package nginx-light 1.6.2-5ubuntu3.1 failed to install/upgrade - postinstallation script failed due to bad configuration directive in left over configuration files from prior installation tasks

Thomas Ward teward at trekweb.org
Wed Jul 29 20:22:51 UTC 2015


If you wish to replace everything with a default install, do the
following commands.  ***Make sure that you back up anything you want to
keep from /etc/nginx or /usr/share/nginx/html***:

sudo apt-get purge nginx nginx-light nginx-full nginx-extras nginx-common
sudo apt-get install nginx nginx-light nginx-common


This will purge all the existing configuration files and any of the nginx flavors, and then reinstall then with defaults.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nginx in Ubuntu.
https://bugs.launchpad.net/bugs/1479477

Title:
  package nginx-light 1.6.2-5ubuntu3.1 failed to install/upgrade -
  postinstallation script failed due to bad configuration directive in
  left over configuration files from prior installation tasks

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1479477/+subscriptions



More information about the Ubuntu-server-bugs mailing list