Replace /etc/apt/grml.key with /etc/apt/trusted.gpg.d/grml-archive-keyring.gpg
authorMichael Prokop <mika@grml.org>
Fri, 27 Apr 2018 09:23:10 +0000 (11:23 +0200)
committerMichael Prokop <mika@grml.org>
Fri, 27 Apr 2018 09:24:13 +0000 (11:24 +0200)
commit1a823a1c53bdc752825296024fcabe2988b40fc1
tree5dc87e6226cd010d4e9938cbe97d341cb9eeba6c
parente02aee46e661c77260bd1788f156221a61b2481d
Replace /etc/apt/grml.key with /etc/apt/trusted.gpg.d/grml-archive-keyring.gpg

/etc/apt/grml.key was a PGP public key block Public-Key (old) and
required installation via apt-key.

By instead placing a `GPG key public ring` into
/etc/apt/trusted.gpg.d/grml-archive-keyring.gpg we don't need
this extra apt-key invocation any longer, which might actually
fail with:

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

Installation of gnupg isn't enough though, since then we run
into:

| 10:45:56 Warning: apt-key output should not be parsed (stdout is not a terminal)
| 10:45:58 gpg: can't connect to the agent: IPC connect call failed

Drop old /etc/grml/fai/config/files/etc/apt/grml.key/GRMLBASE via maintscript

Thanks: Antoine Beaupré <anarcat@debian.org> for a related PR
in https://github.com/grml/grml-debian-keyring/pull/3
debian/grml-live.maintscript [new file with mode: 0644]
etc/grml/fai/config/files/etc/apt/grml.key/GRMLBASE [deleted file]
etc/grml/fai/config/files/etc/apt/trusted.gpg.d/grml-archive-keyring.gpg/GRMLBASE [new file with mode: 0644]
etc/grml/fai/config/hooks/updatebase.GRMLBASE