[elbe-devel] [PATCH v2] pbuilder: force apt-secure to issue only warnings for the unsigned repositories

Yegor Yefremov yegorslists at googlemail.com
Wed Feb 26 10:12:50 CET 2020


On Fri, Jan 31, 2020 at 3:40 PM Torben Hohn <torben.hohn at linutronix.de> wrote:
>
> On Mon, Jan 27, 2020 at 10:28:30AM +0100, yegorslists at googlemail.com wrote:
> > From: Yegor Yefremov <yegorslists at googlemail.com>
> >
> > When using the <noauth> option "elbe pbuilder create" will fail with
> > the following error:
> >
> > The following signatures couldn't be verified because the public key
> > is not available: NO_PUBKEY 8F5559AED64D8F15
> >
> > This change forces apt-secure to allow such repositories.
> >
> > Signed-off-by: Yegor Yefremov <yegorslists at googlemail.com>
>
> Reviewed-by: Torben Hohn <torben.hohn at linutronix.de>

Gentle ping.

Yegor

> > ---
> > Changes v1 -> v2:
> >   - improve the commit log to mention the <noauth> option (Torben Hohn)
> >
> >  elbepack/pbuilder.py | 3 +++
> >  1 file changed, 3 insertions(+)
> >
> > diff --git a/elbepack/pbuilder.py b/elbepack/pbuilder.py
> > index 43b7b423a..6c40a2405 100644
> > --- a/elbepack/pbuilder.py
> > +++ b/elbepack/pbuilder.py
> > @@ -82,6 +82,9 @@ def pbuilder_write_apt_conf(builddir, xml):
> >      # Also for safety add this:
> >      fp.write('APT::Get::AllowUnauthenticated "true";\n')
> >
> > +    # Force apt-secure to issue only warnings for the unsigned repositories
> > +    fp.write('Acquire::AllowInsecureRepositories "true";\n')
> > +
> >      # Make aptitude install untrusted packages without asking
> >      fp.write('Aptitude::CmdLine::Ignore-Trust-Violations "true";\n')
> >      fp.close()
> > --
> > 2.17.0
> >
> >
> > _______________________________________________
> > elbe-devel mailing list
> > elbe-devel at linutronix.de
> > https://lists.linutronix.de/mailman/listinfo/elbe-devel
>
> --
> Torben Hohn
> Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
> Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99
>
> Hinweise zum Datenschutz finden Sie hier (Informations on data privacy
> can be found here): https://linutronix.de/kontakt/Datenschutz.php
>
> Linutronix GmbH | Firmensitz (Registered Office): Uhldingen-Mühlhofen |
> Registergericht (Registration Court): Amtsgericht Freiburg i.Br., HRB700
> 806 | Geschäftsführer (Managing Directors): Heinz Egger, Thomas Gleixner



More information about the elbe-devel mailing list