/etc/kernel/postinst.d/reconfigure-dde-daemon有问题
Tofloor
poster avatar
MattD
deepin
2014-05-02 03:36
Author
今天在用make-kpkg编译3.15-rc3内核,并打算用dpkg安装编译好的新内核时,发现内核配置过程在运行/etc/kernel/postinst.d/reconfigure-dde-daemon这个脚本时出错而导致安装失败。
脚本本身的内容如下,非常简单:
  1. #!/bin/sh
  2. echo "Reconfigure dde-daemon"
  3. dpkg-reconfigure dde-daemon 2>/dev/null
Copy the Code
在把第二行的2>/dev/null去掉以后,找到了真正的出错信息:
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: 资源暂时不可用
但是我用
  1. lsof /var/cache/debconf/config.dat
Copy the Code
却找不到正在占用那个文件的进程,猜测可能是在dpkg-reconfigure过程中加的锁。
这个问题在上周以前没出现过,我想只要跟我一样手动编译内核并安装即可重现。
目前我的临时解决方案是把这个脚本移到别处,暂时未发现负面作用。
Reply Favorite View the author
All Replies
cxbii
deepin
2014-05-02 04:35
#1
我会给对应开发者看下的
Reply View the author