Bug#970796: Bug

2021-04-08 Thread Noah Meyerhans
On Thu, Apr 08, 2021 at 11:01:26PM +0200, Bastian Blank wrote: > > In order for that to work, though, the > > key needs to be available in *binary* format. So we still do need gpg > > to do the conversion. > > No, apt does not require a binary key file. Just

Bug#970796: Bug

2021-04-08 Thread Bastian Blank
On Thu, Apr 08, 2021 at 11:33:31AM -0700, Noah Meyerhans wrote: > In order for that to work, though, the > key needs to be available in *binary* format. So we still do need gpg > to do the conversion. No, apt does not require a binary key file. Just give it the

Bug#970796: Bug

2021-04-08 Thread Noah Meyerhans
On Thu, Apr 08, 2021 at 04:32:37PM +, Jarosław Wygoda wrote: >I tried to add complete key on debian 10 and it turns out it requires >gnupg. Here's a relevant cloud-init config and error. >apt: >  preserve_sources_list: true >  sources: >    docker.list: >     

Bug#970796: Bug and the error message

2021-04-08 Thread Geert Stappers
On Thu, Apr 08, 2021 at 04:32:37PM +, Jarosław Wygoda wrote: > cloudinit.util.ProcessExecutionError: Unexpected error while running command. > Command: ['apt-key', 'add', '-'] > Stderr: E: gnupg, gnupg2 and gnupg1 do not seem to be installed, > but one of them is required for this operation

Bug#970796: Bug

2021-04-08 Thread Jarosław Wygoda
I tried to add complete key on debian 10 and it turns out it requires gnupg. Here's a relevant cloud-init config and error. apt: preserve_sources_list: true sources: docker.list: source: "deb [arch=amd64] https://download.docker.com/linux/debian $RELEASE edge" key: |