Package: emdebian-archive-keyring
Version: 2.1
Severity: important

Dear Maintainer,

Upgrading from 2.0.5 to 2.1 I get this error in postinst:

Setting up emdebian-archive-keyring (2.1) ...
Warning: apt-key should not be used in scripts (called from postinst 
maintainerscript of the package emdebian-archive-keyring)
gpg: no valid OpenPGP data found.
dpkg: error processing package emdebian-archive-keyring (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 emdebian-archive-keyring
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)


A by-hand run of apt-key add 
/usr/share/emdebian-tools/emdebian-archive-keyring.gpg also outputs:
"gpg: no valid OpenPGP data found"

as file /usr/share/keyrings/debian-keyring.gpg 
/usr/share/keyrings/debian-keyring.gpg: GPG key public ring, created Tue Jul  5 
05:06:24 2011

vs 

file /usr/share/emdebian-tools/emdebian-archive-keyring.gpg  
/usr/share/emdebian-tools/emdebian-archive-keyring.gpg: GPG keybox database 
version 1, created-at Mon Dec  5 04:47:53 2016, last-maintained Mon Dec  5 
04:47:53 2016

I so believe the issue is apt-key add supports only old gpg binary keyring 
format , and the latter is in new keybox format.

Regards,
Alban

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-rc7prahal+ (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages emdebian-archive-keyring depends on:
ii  apt    1.4~beta1
ii  gnupg  2.1.16-2

emdebian-archive-keyring recommends no packages.

emdebian-archive-keyring suggests no packages.

-- no debconf information

Reply via email to