[buildd-tools-devel] Bug#843137: Bug#843137: sbuild: fails to deal with sid chroots (missing gpg)

Raphael Hertzog hertzog at debian.org
Fri Nov 4 10:04:44 UTC 2016


Hi Cyril,

On Fri, 04 Nov 2016, Cyril Brulebois wrote:
> a brand new unstable chroot isn't usable for a build with default (as
> far as I can remember) sbuild configuration. Full log follows:

It's not a "default" sbuild configuration, it's one where you created
a signing key. Get rid of /var/lib/sbuild/apt-keys and it should work (at
least on a recent sbuild, I saw you reported it on an old version, not
sure if that version already has the fallback mentioned below).

When a key is present there, sbuild wants to use it to sign the internal
repository and then your chroot needs to have gpg installed (and unstable
chroot no longer have it since apt dropped the dependency).

That said, it would be nice if sbuild was smarter, it could check gpg's
availability before deciding to sign the repository and then fallback to
using the "[trusted=yes]" sources.list attribute instead.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Support Debian LTS: http://www.freexian.com/services/debian-lts.html
Learn to master Debian: http://debian-handbook.info/get/



More information about the Buildd-tools-devel mailing list