the problem is located in the configuration file /etc/nscd.conf at line 63-64, make sure that the '#' symbol starts the line and not be preceded by an empty space/tab or anything else, once you do that, try to install the package with 'apt-get -f install', 'apt-get install nscd' o 'dpkg -i /var/cache/apt/archive/.....', well you've got the idea.