nfs-kernel-server fails to install: /etc/init.d/nfs-common missing

Asked by Martin Hofbauer

server:/tmp -n # apt-get install nfs-kernel-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/164kB of archives.
After this operation, 418kB of additional disk space will be used.
Selecting previously deselected package nfs-kernel-server.
(Reading database ... 68839 files and directories currently installed.)
Unpacking nfs-kernel-server (from .../nfs-kernel-server_1%3a1.2.0-2ubuntu2_i386.deb) ...
Processing triggers for man-db ...
Setting up nfs-kernel-server (1:1.2.0-2ubuntu2) ...

Creating config file /etc/exports with new version

Creating config file /etc/default/nfs-kernel-server with new version
invoke-rc.d: unknown initscript, /etc/init.d/nfs-common not found.
dpkg: error processing nfs-kernel-server (--configure):
 subprocess installed post-installation script returned error exit status 100
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Bug
Architecture: i386
Date: Sun Oct 4 02:09:38 2009
DistroRelease: Ubuntu 9.10
Package: nfs-kernel-server 1:1.2.0-2ubuntu2
ProcVersionSignature: Ubuntu 2.6.31-11.38-generic-pae
SourcePackage: nfs-utils
Uname: Linux 2.6.31-11-generic-pae i686

Question information

English Edit question
Ubuntu nfs-utils Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Martin Hofbauer (mhansi12) said :
Revision history for this message
Launchpad Janitor (janitor) said :

This bug was fixed in the package nfs-utils - 1:1.2.0-2ubuntu3

nfs-utils (1:1.2.0-2ubuntu3) karmic; urgency=low

  * nfs-kernel-server: don't cal invoke-rc.d nfs-common in the postinst, this
    is redundant anyway and the nfs-common init script is gone now.
    LP: #441855.

 -- Steve Langasek <email address hidden> Sat, 03 Oct 2009 23:07:09 -0700

Revision history for this message
Steve Langasek (vorlon) said :

why have you marked this bug 'invalid'? It certainly wasn't, it was a real bug that has been fixed.

Revision history for this message
richardh9935 (richardh9935) said :

 Re: nfs-common borked (from ubuntu forums)

My eee-pc 1000 (NBR) is affected, too. Its symptoms include a missing file - "/etc/init.d/nfs-common". However, in Launchpad, bug #441855 Steve says he's fixed this.

If so, how do I retrieve the fixed modules? Synaptic doesn't update nfs-common, nor nfs-kernel-server, and it doesn't list nfs-utils.
AMD Sempron with NEC Multisync fp2141sb Trinitron & Acer screen - twinview.
Asus eee-pc 1000 (the eeep)
Both use Ubuntu.


Revision history for this message
Steve Langasek (vorlon) said :

This was a real bug that has been fixed in recent versions of nfs-utils. It is inappropriate for you to use "convert to question" on other users' valid bugs, please don't do this in the future.

The fix for this package is to install the newer version of nfs-kernel-server, not the new version of nfs-common. /etc/init.d/nfs-common is not "missing", it has deliberately been removed.

Can you help with this problem?

Provide an answer of your own, or ask Martin Hofbauer for more information if necessary.

To post a message you must log in.