`
java_somuch
  • 浏览: 10386 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
最近访客 更多访客>>
社区版块
存档分类
最新评论

nfs-kernel-server depends on nfs-common (>= 1:1.0.8-1);错误解决方法

阅读更多

错误信息类似于:

 

start: Job failed to start
  invoke-rc.d: initscript statd, action "restart" failed.
  dpkg: error processing nfs-common (--configure):
   subprocess installed post-installation script returned error exit status 1
  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)

 

----------------------------------------------------------------------------

 

错误发生在我用ubuntu64位制作mini rootfs时,我chroot后,安装nfs-kernel-server总是报错。

究其原因,是因为portmap没有启动。但是chroot状态无法启动portmap。所以退出来,在ubuntu系统中先安装nfs-kernel-server,即可启动主系统的portmap,然后chroot到mini rootfs,就可以安装nfs-kernel-server 和nfs-common了。

 

 

网上有各种解法,均不正确,可能跟我的环境不一样所致。

做个笔记,如果哪位同仁在制作root fs 的时候遇到同样头疼的问题,希望这个笔记可以帮到你。

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics