[buildd-tools-devel] Bug#782532: sbuild: Error creating ubuntu chroot: debfoster not found

Dima Kogan dima at secretsauce.net
Mon Apr 13 19:21:57 UTC 2015


Package: sbuild
Version: 0.65.2-1
Severity: normal

Hi. Look:

   dima at shorty:~$ sudo sbuild-createchroot --make-sbuild-tarball=/var/lib/sbuild/trusty-amd64.tar.gz trusty /tmp/xxx http://us.archive.ubuntu.com/ubuntu 

    mkdir /tmp/xxx
    I: SUITE: trusty
    I: TARGET: /tmp/xxx
    I: MIRROR: http://us.archive.ubuntu.com/ubuntu
    I: Running debootstrap --arch=amd64 --variant=buildd --verbose --include=fakeroot,build-essential,debfoster --components=main --resolve-deps trusty /tmp/xxx http://us.archive.ubuntu.com/ubuntu
    W: Cannot check Release signature; keyring file not available /usr/share/keyrings/ubuntu-archive-keyring.gpg
    I: Retrieving Release 
    I: Retrieving Packages 
    I: Validating Packages 
    I: Resolving dependencies of required packages...
    I: Resolving dependencies of base packages...
    I: Found additional base dependencies: libfakeroot 
    I: Checking component main on http://us.archive.ubuntu.com/ubuntu...
    E: Couldn't find these debs: debfoster
    E: Error running debootstrap at /usr/sbin/sbuild-createchroot line 220.


Including debfoster is hard-coded in sbuild-createchroot. This can by
worked around by passing --exclude=debfoster to sbuild-createchroot. The
error possibly is due to the contents of the ubuntu mirror, but this is
a common use case, and it shouldn't fail. If it cannot be fixed in
sbuild, then at least a note on the wiki would be good. In any case,
this bug report will now be indexed by search engines, so in itself
it'll be helpful.



More information about the Buildd-tools-devel mailing list