[Bug 652876] Re: 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
Etienne Goyer
etienne.goyer at canonical.com
Fri Mar 9 18:20:58 UTC 2012
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 at 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 at 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
Foundations Bugs, which is subscribed to eglibc in 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
Status in “eglibc” package in Ubuntu:
Fix Released
Status in “eglibc” source package in Lucid:
Triaged
Bug description:
Problem occurred after apt-get install, apt-get remove and again apt-
get install of the following packages:
sudo apt-get install libpam-ldap libnss-ldap nss-updatedb libnss-db
nfs-common nscd ldap-utils
Description: Ubuntu 10.04.1 LTS
Release: 10.04
nscd:
Installed: 2.11.1-0ubuntu7.2
Candidate: 2.11.1-0ubuntu7.2
Version table:
*** 2.11.1-0ubuntu7.2 0
500 http://nl.archive.ubuntu.com/ubuntu/ lucid-updates/universe Packages
100 /var/lib/dpkg/status
2.11.1-0ubuntu7.1 0
500 http://security.ubuntu.com/ubuntu/ lucid-security/universe Packages
Not sure if it is working correctly or not, it gave an error message, so...?
2.11.1-0ubuntu7 0
500 http://nl.archive.ubuntu.com/ubuntu/ lucid/universe Packages
ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: nscd 2.11.1-0ubuntu7.2
ProcVersionSignature: Ubuntu 2.6.32-25.44-server 2.6.32.21+drm33.7
Uname: Linux 2.6.32-25-server x86_64
Architecture: amd64
Date: Fri Oct 1 12:22:27 2010
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Custom Live CD - Release amd64
SourcePackage: eglibc
Title: package nscd 2.11.1-0ubuntu7.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/652876/+subscriptions
More information about the foundations-bugs
mailing list