Bug#640222: nfs-common: init script failure during installation, leaving package half-configured

2011-09-14 Thread WRC. DiQ
It was with this same problem. The same error.

 I think the alert log messages about the error, because, I believe, has to do 
with the Loopback or other network configuration. To be sure, run:

 # Tail-f / var / log / messages


 Leave this terminal open and try to reinstall on another terminal portmap, 
nfs-common and finally, nfs-kernel-server.

 By the time the installation fails the log will probably show a message. In my 
case, who had installed rpcbind, the error was as follows:

 rpcbind: server localhost not responding, timed out

 then checked in / etc / network / interfaces that the loopback was disabled (#)

 After repairing it, the packages were installed normally.

 Check your log, it will probably help you. I'm currently using the portmap and 
without errors.

 I saw that many people have gone through this Web posted something and no one 
could solve. If this post help you solve the answer.

Bug#640222: nfs-common: init script failure during installation, leaving package half-configured

2011-09-03 Thread Sascha Silbe
Package: nfs-common
Version: 1:1.2.4-1
Severity: normal


For an unknown reason /etc/init.d/nfs-common start failed during
installation of nfs-common, leaving the package in half-configured state:

sascha.silbe@mimosa:~$ sudo aptitude install nfs-common
The following NEW packages will be installed:

  libgssglue1{a} [0.3-2] +98.3 kB (D: libtirpc1, D: nfs-common) (for 
nfs-common)
  libnfsidmap2{a} [0.24-1] +123 kB (D: nfs-common) (for nfs-common)
  libtirpc1{a} [0.2.2-5] +242 kB (D: nfs-common, D: rpcbind) (for nfs-common)
  nfs-common [1:1.2.4-1] +721 kB
  rpcbind{a} [0.2.0-6] +172 kB (D: nfs-common) (for nfs-common)
0 packages upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 414 kB of archives. After unpacking 1,356 kB will be used.
Do you want to continue? [Y/n/?] y
Get:1 http://ftp.de.debian.org/debian/ wheezy/main libgssglue1 armel 0.3-2 
[22.0 kB]
Get:2 http://ftp.de.debian.org/debian/ wheezy/main libtirpc1 armel 0.2.2-5 
[76.2 kB]
Get:3 http://ftp.de.debian.org/debian/ wheezy/main libnfsidmap2 armel 0.24-1 
[30.3 kB]
Get:4 http://ftp.de.debian.org/debian/ wheezy/main rpcbind armel 0.2.0-6 [41.3 
kB]
Get:5 http://ftp.de.debian.org/debian/ wheezy/main nfs-common armel 1:1.2.4-1 
[244 kB]
Fetched 414 kB in 1s (253 kB/s)
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Selecting previously deselected package libgssglue1.
(Reading database ... 98059 files and directories currently installed.)
Unpacking libgssglue1 (from .../libgssglue1_0.3-2_armel.deb) ...
Selecting previously deselected package libtirpc1.
Unpacking libtirpc1 (from .../libtirpc1_0.2.2-5_armel.deb) ...
Selecting previously deselected package libnfsidmap2.
Unpacking libnfsidmap2 (from .../libnfsidmap2_0.24-1_armel.deb) ...
Selecting previously deselected package rpcbind.
Unpacking rpcbind (from .../rpcbind_0.2.0-6_armel.deb) ...
Selecting previously deselected package nfs-common.
Unpacking nfs-common (from .../nfs-common_1%3a1.2.4-1_armel.deb) ...
Processing triggers for man-db ...
Setting up libgssglue1 (0.3-2) ...
Setting up libtirpc1 (0.2.2-5) ...
Setting up libnfsidmap2 (0.24-1) ...
Setting up rpcbind (0.2.0-6) ...
Starting rpcbind daemon
Setting up nfs-common (1:1.2.4-1) ...

Creating config file /etc/idmapd.conf with new version

Creating config file /etc/default/nfs-common with new version
Adding system user `statd' (UID 107) ...
Adding new user `statd' (UID 107) with group `nogroup' ...
Not creating home directory `/var/lib/nfs'.
Starting NFS common utilities: statd idmapd failed!
invoke-rc.d: initscript nfs-common, action start failed.
dpkg: error processing nfs-common (--configure):
 subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
  Errors were encountered while processing:
 nfs-common
[master 294ea6f] committing changes in /etc after apt run
 Author: sascha.silbe sascha.si...@mimosa.sascha.silbe.org
 115 files changed, 525 insertions(+), 50 deletions(-)
 create mode 100644 default/nfs-common
 create mode 100644 gssapi_mech.conf
 create mode 100644 idmapd.conf
 rewrite init.d/.depend.start (69%)
 rewrite init.d/.depend.stop (60%)
 create mode 100755 init.d/nfs-common
 create mode 100755 init.d/rpcbind
 create mode 100644 insserv.conf.d/rpcbind
 create mode 100644 netconfig
 create mode 12 rc0.d/K05nfs-common
 create mode 12 rc0.d/K05rpcbind
 rename rc0.d/{K04hwclock.sh = K06hwclock.sh} (100%)
 rename rc0.d/{K05networking = K06networking} (100%)
 rename rc0.d/{K06ifupdown = K07ifupdown} (100%)
 rename rc0.d/{K07umountfs = K08umountfs} (100%)
 rename rc0.d/{K08cryptdisks = K09cryptdisks} (100%)
 rename rc0.d/{K09cryptdisks-early = K10cryptdisks-early} (100%)
 rename rc0.d/{K10umountroot = K11umountroot} (100%)
 rename rc0.d/{K11halt = K12halt} (100%)
 create mode 12 rc1.d/K05nfs-common
 create mode 12 rc1.d/K05rpcbind
 rename rc1.d/{S02bootlogs = S20bootlogs} (100%)
 rename rc1.d/{S03single = S21single} (100%)
 create mode 12 rc2.d/S16rpcbind
 create mode 12 rc2.d/S17nfs-common
 rename rc2.d/{S01nodm = S19nodm} (100%)
 rename rc2.d/{S01rsyslog = S19rsyslog} (100%)
 rename rc2.d/{S01sudo = S19sudo} (100%)
 rename rc2.d/{S02bootlogs = S20bootlogs} (100%)
 rename rc2.d/{S02cron = S20cron} (100%)
 rename rc2.d/{S02dbus = S20dbus} (100%)
 rename rc2.d/{S02nullmailer = S20nullmailer} (100%)
 rename rc2.d/{S02pcscd = S20pcscd} (100%)
 rename rc2.d/{S02rsync = S20rsync} (100%)
 rename rc2.d/{S02ssh = S20ssh} (100%)
 rename rc2.d/{S03avahi-daemon = S21avahi-daemon} (100%)
 rename rc2.d/{S03network-manager = S21network-manager} (100%)
 rename rc2.d/{S04rc.local = S22rc.local} (100%)
 rename rc2.d/{S04rmnologin = S22rmnologin} (100%)
 rename rc2.d/{S04stop-bootlogd = S22stop-bootlogd} (100%)
 create mode 12 rc3.d/S16rpcbind
 create mode 12 rc3.d/S17nfs-common
 rename rc3.d/{S01nodm = S19nodm} (100%)
 rename rc3.d/{S01rsyslog = S19rsyslog} (100%)
 rename