By mistake I have removed /etc/nginx directory in my ubuntu 11.10 PC. How can I restore the ngnix directory in /etc/nginx ?
I did these commands:
sudo su
rm -rf /etc/nginx
I want to get again /etc/nginx directory. how?
I tried this to re-install nginx:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install nginx
then it gives following
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package nginx
How can i get full nginx software on ubuntu 11.10?
To recreate it, first uninstall using purge to remove even configuration files and records:
then reinstall:
If above doesn't work for you, you can also try using --force-confmiss option of dpkg.