I was following your tutorial on adding the cache purge addition when I found your plugin and saw that it was necessary.
I had already installed nginx (I’m new only 1 week using it) and it seems to work great on my digitalocean setup. I have nginx+varnish+apc+ffp+wordpress from following other tutorials prior to finding the rtcamp site tutorials.
I went to brians site https://launchpad.net/~brianmercer/+archive/nginx and see that he now supports unbuntu 12.04 which is awesome, but when I try to apt-get install nginx-custom, I get the following error, and I don’t know where to begin to fix this.
If I need to remove my install of nginx first, could someone point me out how to do that the right way?
error:
# apt-get install nginx-custom
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed:
nginx-common
The following NEW packages will be installed:
nginx-common nginx-custom
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/522 kB of archives.
After this operation, 1,176 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database … 41154 files and directories currently installed.)
Unpacking nginx-common (from …/nginx-common_1.4.1-0ppa~precise_all.deb) …
dpkg: error processing /var/cache/apt/archives/nginx-common_1.4.1-0ppa~precise_all.deb (–unpack):
trying to overwrite ‘/etc/logrotate.d/nginx’, which is also in package nginx 1.4.2-1~lucid
No apport report written because MaxReports is reached already
Unpacking nginx-custom (from …/nginx-custom_1.4.1-0ppa~precise_amd64.deb) …
dpkg: error processing /var/cache/apt/archives/nginx-custom_1.4.1-0ppa~precise_amd64.deb (–unpack):
trying to overwrite ‘/usr/sbin/nginx’, which is also in package nginx 1.4.2-1~lucid
No apport report written because MaxReports is reached already
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db …
Processing triggers for ufw …
Errors were encountered while processing:
/var/cache/apt/archives/nginx-common_1.4.1-0ppa~precise_all.deb
/var/cache/apt/archives/nginx-custom_1.4.1-0ppa~precise_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)