[英]Error while installing nfs-kernel-server in Ubuntu 10.04
尝试在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上进行搜索,但无法解决。 有任何想法吗?
为此存在一个错误: https : //bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1023382
我最终要做的是
apt-get remove --purge nfs-common
apt-get install nfs-common nfs-kernel-server
然后将我的配置文件放回原处,一切正常。
我现在偶然在debian 9中偶然发现了同样的错误...所以也许有人也会发现它有用...
我已经通过额外删除rpcbind服务并再次重新安装来解决了这个问题
apt-get remove --purge rpcbind nfs-common && apt-get install nfs-common
在bash中尝试
xxxxx@ubuntu:~$ sudo apt-get install nfs-common
这将安装nfs-common。 然后返回并尝试安装您的nfs内核服务器。 如果已安装nfs-common,请运行以下命令并粘贴输出
xxxxx@ubuntu:~$ dpkg -L nfs-common | grep /etc/init.d/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.