This is not a sensible approach. You should find out why dpkg is not installed or is partially installed. Which are your config options?Il giorno lun 10 ago 2015 alle 15:10, Harshad Joshi <firewalrus@gmail.com> ha scritto:
No. I cant see this file. I will copy it from my main /sbin to chroot/sbin--sent from mobile-- हर्षद जोशी On 10-Aug-2015 11:54 AM, "Federico Bruni" <fede@inventati.org> wrote:Do you see this file in your live-build project? $ ls -l chroot/sbin/start-stop-daemon-rwxr-xr-x 1 root root 26820 apr 10 05:49 chroot/sbin/start-stop-daemonIl giorno lun 10 ago 2015 alle 8:21, Harshad Joshi <firewalrus@gmail.com> ha scritto:I checked the root env and it had all entries of paths required by lb.I have syslinux enabled in my build. Should i change it to grub?! How to resolve if issue is with chroot?! --sent from mobile-- हर्षद जोशीOn 10-Aug-2015 11:48 AM, "Federico Bruni" <fede@inventati.org> wrote:Il giorno lun 10 ago 2015 alle 4:45, Harshad Joshi <firewalrus@gmail.com> ha scritto:I tried to build a standard package iso but i got one error of start-stop-daemon not found.I am sending the messages in attachment.What went wrong over here? Do i need to rebuild entire chroot using lb clean ?Or do i need to add start-stop-daemon in my package list?The error is: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 /sbinE: Sub-process /usr/bin/dpkg returned an error code (2)start-stop-daemon is in the package dpkg: $ apt-file search start-stop-daemon dpkg: /sbin/start-stop-daemon and it seems that you have dpkg installed. Maybe a problem in the root path... of your chroot?