sbuild binary cannot be found inside schroot

Asked by Stefhen

While learning how to build packages, following the guide here:

https://help.ubuntu.com/community/SbuildLVMHowto

It seems sbuild cannot be found inside my schroot, see below. It looks like that this maybe was left out of the initial root image creation?

$ schroot -c jaunty -u root
I: [jaunty-42868fba-5911-43e5-aaf7-b94fafe60b58 chroot] (hovland→root) Running login shell: ‘/bin/bash’

(jaunty)root@xbmc:/home/hovland# df
Filesystem 1K-blocks Used Available Use% Mounted on
sysfs 5160576 397148 4501284 9% /sys

(jaunty)root@xbmc:/home/hovland# ls -ld bc*
drwxr-xr-x 10 hovland hovland 4096 Jul 31 00:29 bc-1.06.94
-rw-r--r-- 1 hovland hovland 18117 Dec 5 2007 bc_1.06.94-3ubuntu1.diff.gz
-rw-r--r-- 1 hovland hovland 722 Dec 5 2007 bc_1.06.94-3ubuntu1.dsc
-rw-r--r-- 1 hovland hovland 361055 Dec 5 2007 bc_1.06.94.orig.tar.gz

(jaunty)root@xbmc:/home/hovland# sbuild -d jaunty bc_1.06.94-3ubuntu1.dsc
-bash: sbuild: command not found

(jaunty)root@xbmc:/home/hovland# ls -l /usr/bin/sbuild
ls: cannot access /usr/bin/sbuild: No such file or directory

(jaunty)root@xbmc:/home/hovland# cd /usr/bin

(jaunty)root@xbmc:/usr/bin# ls -l | grep sbuild

(jaunty)root@xbmc:/usr/bin# exit
logout

hovland@xbmc:~
$ ls -l /usr/bin/sbuild
-rwxr-xr-x 1 root root 12045 2009-02-19 00:55 /usr/bin/sbuild*
hovland@xbmc:~
$

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu sbuild Edit question
Assignee:
No assignee Edit question
Solved by:
Stefhen
Solved:
Last query:
Last reply:
Revision history for this message
Stefhen (res0nat0r) said :
#1

This has been solved via the bug listed. sbuild should be run outside of the chroot.