我一直在运行lb build
,一个接一个地解决问题,然后再次运行它,现在我收到了这条消息:
dpkg: warning: 'start-stop-daemon' not found in PATH or not executable
dpkg: error: 1 expected program not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
E: Sub-process /usr/bin/dpkg returned an error code (2)
P: Begin unmounting filesystems...
P: Saving caches...
Reading package lists... Done
Building dependency tree... Done
然后我去检查我的路径,我看到了
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
这清楚地表明/usr/local/sbin
,/usr/sbin
和/sbin
。
有什么建议么?
**更新 1**
遵循本指南
http://ubuntuforums.org/showthread.php?t=1449322
每个命令都运行良好,但lb build
再次运行后仍然出现相同的错误消息。
**更新 2——附加信息**
root@kali:~# ls -lA /sbin (其他文件) -rwxr-xr-x 1 root root 28208 Aug 12 15:00 start-stop-daemon