I cannot reproduce this bug. In my case, when upgrading, the nscd
service is first stopped (see nscd.prerm) before being started again (in
nscd.postinst), so the upgrade works just fine.
Witness:
ubuntu@lucid-server:~$ dpkg -l nscd
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version
Description
+++-=================================-=================================-==================================================================================
ii nscd 2.11.1-0ubuntu7
Embedded GNU C Library: Name Service Cache Daemon
ubuntu@lucid-server:~$ sudo apt-get install nscd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
nscd
1 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Need to get 0B/212kB of archives.
After this operation, 4,096B of additional disk space will be used.
(Reading database ... 42122 files and directories currently installed.)
Preparing to replace nscd 2.11.1-0ubuntu7 (using
.../nscd_2.11.1-0ubuntu7.10_amd64.deb) ...
* Stopping Name Service Cache Daemon nscd
[ OK ]
Unpacking replacement nscd ...
Processing triggers for ureadahead ...
Processing triggers for man-db ...
Setting up nscd (2.11.1-0ubuntu7.10) ...
* Starting Name Service Cache Daemon nscd
[ OK ]
For those affected, could it be that /etc/init.d/nscd is not executable
for some reason?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/652876
Title:
package nscd 2.11.1-0ubuntu7.2 failed to install/upgrade: subprocess
installed post-installation script returned error exit status 1 due to
initscript failing to start
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/652876/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs