Comment 4 for bug 1753945

Revision history for this message
Thomas Dreibholz (dreibh) wrote :

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