我自己的dpkg无法正确安装。 我跑:
:~# dpkg -i foo-2.1-2.deb
我的包完成安装后。
:~# ps aux | grep foo | grep -v grep
root 1718 2.2 1.4 10080 7308 ttyS0 S 11:59 0:03 dpkg -i foo-2.1-2.deb
root 1731 0.0 0.0 1720 496 ttyS0 S 11:59 0:00 /bin/sh /var/lib/dpkg/info/foo-2.1-2.postinst configure 2.1-2
我认为我的postinst脚本没有正确终止,
我错过了什么,但不知道是什么。
答案 0 :(得分:1)
我终于明白了。我的一个脚本名为/ bin / bash调用了一个名为/ bin / bash的脚本,它启动了一个新的shell,导致dpkg在后台运行并且永远不会完成。