Bug#378283: [Buildd-tools-devel] Bug#378283: Fails with "dpkg --set-selections failed"

Martin Michlmayr tbm at cyrius.com
Sat Jul 15 15:48:47 UTC 2006


It's because SHELL is /bin/zsh which doesn't exist in the chroot.  And
the -p option tells login to keep the environment, so it fails...

sh-3.1# /bin/su root -p -c 'ls -la'
sh-3.1# unset SHELL
sh-3.1# /bin/su root -p -c 'ls -la'
total 88
drwxr-xr-x 22 root root   4096 Jul 15 00:59 .
drwxr-xr-x 22 root root   4096 Jul 15 00:59 ..
...

-- 
Martin Michlmayr
http://www.cyrius.com/




More information about the Buildd-tools-devel mailing list