On 21 Jun 2017, at 15:04, Neil Williams <codehelp@debian.org> wrote: > A newly created schroot using schroot on jessie cannot build packages > for stretch due to missing gpg binary. Installing gnupg manually runs > into https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827315 which is > fixed in sbuild 0.70 but there is no jessie-backport of this version. > > A workaround is to install gnupg1 and copy /usr/bin/gpg1 to /usr/bin/gpg > > Can jessie-backports have an update containing the fix for #827315 > please? Is it necessary to manually install gnupg | gnupg2 | gnupg1 > into the stretch schroot - none of those were installed by > sbuild-createchroot > > Check dependencies > ────────────────── > > Merged Build-Depends: build-essential, fakeroot > Filtered Build-Depends: build-essential, fakeroot > dpkg-deb: building package 'sbuild-build-depends-core-dummy' in > '/«BUILDDIR»/resolver-HGom4C/apt_archive/sbuild-build-depends-core-dummy.deb'. > E: Failed to execute “gpg”: No such file or directory Failed to sign > dummy archive Release file. Unless you're building for squeeze (or earlier), sbuild doesn't need to sign its own repository. Run `sudo rm -rf /var/lib/sbuild/apt-keys` and you shouldn't need gnupg installed in the chroot. Regards, James
Attachment:
signature.asc
Description: Message signed with OpenPGP