Linux – Installing nginx get “Broken packages”

aptdebianlinuxnginx

I'm trying to install nginx apt-get install nginx on my Debian Lenny, but I can't cause of this:

The following information may help to resolve the situation: The
following packages have unmet dependencies: nginx: Depends:
nginx-full but it is not going to be installed or
nginx-light but it is not going to be installed E:
Broken packages

Any idea what could be wrong?

Edit:
apt-get install nginx-light

The following packages have unmet dependencies: nginx-light:
Depends: libc6 (>= 2.10) but 2.7-18lenny7 is to be installed
Depends: libpcre3 (>= 7.7) but 7.6-2.1 is to be
installed
Depends: libssl0.9.8 (>= 0.9.8m-1) but
0.9.8g-15+lenny11 is to be installed E: Broken packages

Best Answer

It actually appears other developer had installed PHP 5.3 himself and so the whole thing was somehow failing. Once i uninstalled it and installed PHP from Debian packages it all went smoothly.