[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#422144: Nscd package fail to install



Package: nscd
Version: 2.5-5

Fresh install of the package 'nscd' will failed with message :

Selecting previously deselected package nscd.
(Reading database ... 147085 files and directories currently installed.)
Unpacking nscd (from .../archives/nscd_2.5-5_i386.deb) ...
Setting up nscd (2.5-5) ...
Starting Name Service Cache Daemon: nscd/usr/sbin/nscd: Parse error: 
/usr/sbin/nscd: Unknown option:  hosts caching
/usr/sbin/nscd: Parse error: 
/usr/sbin/nscd: Unknown option:  per default.
/usr/sbin/nscd: failure while reading configuration file; this is fatal
 (failed).
invoke-rc.d: initscript nscd, action "start" failed.
dpkg: error processing nscd (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 nscd
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up nscd (2.5-5) ...
Starting Name Service Cache Daemon: nscd/usr/sbin/nscd: Parse error: 
/usr/sbin/nscd: Unknown option:  hosts caching
/usr/sbin/nscd: Parse error: 
/usr/sbin/nscd: Unknown option:  per default.
/usr/sbin/nscd: failure while reading configuration file; this is fatal
 (failed).
invoke-rc.d: initscript nscd, action "start" failed.
dpkg: error processing nscd (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 nscd
Press return to continue.


After a fresh install of 'nscd' package, the service don't start due to
syntax error in configuration file '/etc/nscd.conf'.

There is a tabulation at the begin of the lines (63 and 64) :
# hosts caching is broken with gethostby* calls, hence is now disabled
# per default.  See /usr/share/doc/nscd/NEWS.Debian.

After suppression of this tabulations and execution of the command :
$ apt-get install --reinstall nscd

the package install properly, and the service start fine.

Bye
Anthony



Reply to: