Control: tag -1 + patch Hi,
On Mon, 08 Sep 2014 03:05:00 -0700 Luke Faraone <lfara...@debian.org> wrote: > Package: sbuild > Version: 0.64.1-1 > Severity: important why the high severity? > Passing --keyring="" does not actually prevent signature > downloading/checking, despite sbuild-createchroot(8) indicating: > > Set to an empty string to disable signature checking. > > root@porterbox:~# sbuild-createchroot precise > /var/lib/schroot/chroots/precise-amd64/ --keyring="" > http://mirror.local/ubuntu > mkdir /var/lib/schroot/chroots > mkdir /var/lib/schroot/chroots/precise-amd64/ > I: SUITE: precise > I: TARGET: /var/lib/schroot/chroots/precise-amd64 > I: MIRROR: http://repo/ > I: Running debootstrap --arch=amd64 --variant=buildd --verbose > --include=fakeroot,build-essential --components=main --resolve-deps precise > /var/lib/schroot/chroots/precise-amd64 http://mirror.local/ubuntu > I: Retrieving Release > I: Retrieving Release.gpg > E: Failed getting release signature file > http://mirror.local/dists/precise/Release.gpg > E: Error running debootstrap at /usr/sbin/sbuild-createchroot line 200. yup, somehow the documentation documented something that was never implemented. The following patch should fix the issue: diff --git a/bin/sbuild-createchroot b/bin/sbuild-createchroot index 5ef7ad4..a99dae7 100755 --- a/bin/sbuild-createchroot +++ b/bin/sbuild-createchroot @@ -199,6 +199,7 @@ push @args, "--exclude=" . $conf->get('EXCLUDE') if $conf->get('EXCLUDE'); push @args, "--components=" . $conf->get('COMPONENTS') if $conf->get('COMPONENTS'); push @args, "--keyring=" . $conf->get('KEYRING') if $conf->get('KEYRING'); +push @args, "--no-check-gpg" if $conf->get('KEYRING') eq ""; push @args, $conf->get('RESOLVE_DEPS') ? "--resolve-deps" : "--no-resolve-deps"; push @args, "$suite", "$target", "$mirror"; cheers, josch
signature.asc
Description: signature