[elbe-devel] [PATCH] elbeproject pbuilder: add gnupg to extrapackages installed into pbuilder

Manuel Traut manuel.traut at linutronix.de
Thu May 3 16:49:52 CEST 2018


Hi,

On Thu, May 03, 2018 at 03:56:54PM +0200, Torben Hohn wrote:
> when using a pbuilder for a stretch target, we see this message:
> 
> --------------------------------------------------------------------
> I: user script //tmp/hooks/D10elbe_apt_sources starting
> E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation
> --------------------------------------------------------------------
> 
> The result is that apt-key does not install the project repo key.
> That makes builds which depend on packages build earlier fail.
> 
> Its not yet clear, if this also happens on elbe stable, and whether
> <norecommend /> is involved (the reproducer has it, and is a stretch build)
>
> Fix it by adding "gnupg" to  --extrapackages.

whatever, adding gnupg shouldn't hurt.

> Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
Signed-off-by: Manuel Traut <manut at linutronix.de>

added to devel/elbe-3.0

> ---
>  elbepack/elbeproject.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/elbepack/elbeproject.py b/elbepack/elbeproject.py
> index 9c1692eb..690a289d 100644
> --- a/elbepack/elbeproject.py
> +++ b/elbepack/elbeproject.py
> @@ -630,7 +630,7 @@ class ElbeProject (object):
>  
>          # Run pbuilder --create
>          self.log.do('pbuilder --create --configfile "%s" --aptconfdir "%s" '
> -                    '--extrapackages git' % (
> +                    '--extrapackages "git gnupg"' % (
>                          os.path.join(self.builddir, "pbuilderrc"),
>                          os.path.join(self.builddir, "aptconfdir")))
>  
> -- 
> 2.11.0
> 
> 
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel



More information about the elbe-devel mailing list