[Bug 1753945] Re: Failure to build 18.04 minimal images due to missing gpg packages

Thomas Dreibholz dreibh at iem.uni-due.de
Fri May 25 08:21:18 UTC 2018


I just tried to set up pbuilder with the attached /etc/pbuilderrc.
Particularly, the configuration needs a PPA, which is added by
"OTHERMIRROR" in the pbuilderrc:

sudo rm -f /etc/apt/trusted.gpg
find /etc/apt/trusted.gpg.d/ -name "*.gpg" | xargs --no-run-if-empty -n1 sudo apt-key --keyring /etc/apt/trusted.gpg add
sudo pbuilder create --debootstrapopts --variant=buildd --keyring /etc/apt/trusted.gpg

It neither works for Bionic nor Cosmic:

I: Installing apt-lines
I: adding apt key file /etc/apt/trusted.gpg.
E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation


** Attachment added: "/etc/pbuilderrc"
   https://bugs.launchpad.net/ubuntu/+source/live-build/+bug/1753945/+attachment/5144161/+files/pbuilderrc

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to live-build in Ubuntu.
https://bugs.launchpad.net/bugs/1753945

Title:
  Failure to build 18.04 minimal images due to missing gpg packages

Status in live-build package in Ubuntu:
  Fix Released

Bug description:
  We (CPC) are seeing failures when building 18.04 minimal images with
  the following errors when adding a PPA.

  E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of
  them is required for this operation

  I understand that there has been recent changes to which gpg packages
  are installed in 18.04. Is this a bug or should we be explicitly
  installing gpg packages now?

  We started seeing these build failures on 03-Mar-2018.

  This is blocking build of all 18.04 minimal images.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/live-build/+bug/1753945/+subscriptions



More information about the foundations-bugs mailing list