I can’t install nginx-extras without uninstalling nginx and nginx-full. Using Wheezy.

$ sudo apt-get install nginx-extras
Reading package lists… Done
Building dependency tree
Reading state information… Done
Suggested packages:
nginx-doc
The following packages will be REMOVED:
nginx nginx-full
The following NEW packages will be installed:
nginx-extras
0 upgraded, 1 newly installed, 2 to remove and 0 not upgraded.
Need to get 0 B/4115 kB of archives.
After this operation, 11.5 MB of additional disk space will be used.
Do you want to continue [Y/n]?

this is because nginx has no module system like apache has. the options have to be choosen at compile time. so, the nginx program has to be replaced. installing the new package shouldn’t remove your current configuration (save it to be sure)

Currently I have the nginx version from the nginx repository installed. Can I simply delete the repository and force update nginx from dotdeb if I want to use this version instead or doesn’t that work?
Thanks

@wahl : Nginx 1.4.3 is available for Squeeze, not for Wheezy (yet). I’ll make an announcement when both are ready.
The packages were built 4 days ago, before ngx_pagespeed has been bumped to 1.6.29.7. I’ll fix it in my next upload (next week-end).