在Ubuntu 10.04中安装nfs-kernel-server时发生错误

问题描述 投票:1回答:3

[在尝试在Ubuntu Server 10.04.4 LTS中安装nfs-kernel-server时收到以下错误消息。

Setting up nfs-common (1:1.2.0-4ubuntu4.2) ...
dpkg: error processing nfs-common (--configure):
 subprocess installed post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of nfs-kernel-server:
 nfs-kernel-server depends on nfs-common (>= 1:1.0.8-1); however:
  Package nfs-common is not configured yet.
dpkg: error processing nfs-kernel-server (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.

Errors were encountered while processing:
 nfs-common
 nfs-kernel-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

我曾尝试在Google上进行搜索,但无法解决。有什么想法吗?

ubuntu ubuntu-10.04 apt-get
3个回答
3
投票

为此存在一个错误:https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1023382

我最后做的是一个

apt-get remove --purge nfs-common
apt-get install nfs-common nfs-kernel-server

然后将我的配置文件放回原处,一切正常。


0
投票

尝试使用bash

xxxxx@ubuntu:~$ sudo apt-get install nfs-common

这将安装nfs-common。然后返回并尝试安装您的nfs内核服务器。如果已安装nfs-common,则运行以下命令并粘贴输出

xxxxx@ubuntu:~$ dpkg -L nfs-common | grep /etc/init.d/

0
投票

我偶然在debian 9中偶然发现了相同的错误...所以也许有人也会发现它有用...

而且我已经通过另外删除rpcbind服务并再次重新安装来解决此问题

apt-get remove --purge rpcbind nfs-common &&  apt-get install nfs-common
© www.soinside.com 2019 - 2024. All rights reserved.