I use lighttpd instead of apache, but all the packages in the debian repositories are so keen on installing apache when I install a web based package. So I installed gitweb with apt-get, telling it to ignore the apache2 dependency... Now when I try to install any package, it complains about unmet dependencies.
root@mercury:~# apt-get install fail2ban python-central
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
gitweb : Depends: apache2 or
httpd
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@mercury:~#
How would I tell apt-get to ignore unmet dependencies by default?