64studio / pdk

64 Studio Platform Development Kit
GNU General Public License v2.0
20 stars 8 forks source link

No keyring installed in /tmp/apt-info/trusted.gpg.d/ #10

Open danielhjames opened 10 years ago

danielhjames commented 10 years ago

Seen on a Debian wheezy system:

$ pdk mediagen picax.xml Get:1 file: wheezy Release.gpg [198 B] Get:2 file: wheezy Release [3,872 B] Ign file: wheezy Release
Ign file: wheezy/main Translation-en_GB Ign file: wheezy/main Translation-en Ign file: wheezy/main/debian-installer Translation-en_GB Ign file: wheezy/main/debian-installer Translation-en Reading package lists... Done W: GPG error: file: wheezy Release: No keyring installed in /tmp/apt-info/trusted.gpg.d/

Seems to be due to picax/apt.py not using the wheezy style configuration when it writes to /tmp/apt-info/ because the trusted.gpg.d subdirectory is not created. Placing the 64 Studio apt key in /etc/apt/trusted.gpg.d/ on the build system is not enough.

obbardc commented 6 years ago

This is no longer a bug in Debian Stretch! Not sure whether I fixed it or it went away.