Package: nfs-common
Version: 1:1.0.7-4
Severity: important
Tags: patch

When upgrading nfs-common, the new package fails to install with the
message :
Paramétrage de nfs-common (1.0.7-4) ...
Stopping NFS common utilities:invoke-rc.d: initscript nfs-common, action
"restart" failed.
dpkg : erreur de traitement de nfs-common (--configure) :
 le sous-processus post-installation script a retourné une erreur de
 sortie d'état 1

This is du to the fact that "/etc/init.d/nfs-common stop" return 1
because "pkill -KILL -u root -x lockd" return 1 because no lockd where
running on my system.

A fix is to change the line #136 of /etc/init.d/nfs-common with :

           pkill -KILL -u root -x lockd || [ $? = 1 ]

Note: you can use "... || true " if you want to ignore all pkill error
codes.

  Best regards
    Vincent



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages nfs-common depends on:
ii  libc6         2.3.6-4                    GNU C Library: Shared libraries an
ii  libcomerr2    1.38+1.39-WIP-2005.12.31-1 common error description library
ii  libevent1     1.1a-1                     An asynchronous event notification
ii  libkrb53      1.4.3-6                    MIT Kerberos runtime libraries
ii  libnfsidmap1  0.13-1                     An nfs idmapping library
ii  libwrap0      7.6.dbs-9                  Wietse Venema's TCP wrappers libra
ii  portmap       5-18                       The RPC portmapper
ii  sysvinit      2.86.ds1-14                System-V-like init utilities

nfs-common recommends no packages.

-- no debconf information

Reply via email to