Some time ago I apt-get install’d the nginx package on my debian/squeeze server. My requirements have now changed and I needed to install nginx --with-http_xslt_module.
To install nginx with this option I did the following:
apt-get build-dep nginxapt-get source nginx- modified debian/rules to add the required option
dpkg-buildpackage -rfakeroot -uc -bdpkg -i nginx_0.7.62-4_amd64.deb
This all seemed to work nicely, but now when I do an apt-get dist-upgrade it tries to install the nginx binary again.
Please could you advise…
- Is building nginx in this way the preferred solution for my needs?
- If so, how can I tell apt that I don’t want to install the binary nginx any more without doing a
remove?