Sbt: Ubuntu 18.04 on WSL installation problem

Created on 12 Jul 2018  Â·  3Comments  Â·  Source: sbt/sbt

steps

problem

The command sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823 breaks with the following error:

› sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823
Executing: /tmp/apt-key-gpghome.ZNijMDAMGR/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823
gpg: connecting dirmngr at '/tmp/apt-key-gpghome.ZNijMDAMGR/S.dirmngr' failed: IPC connect call failed
gpg: keyserver receive failed: No dirmngr

expectation

A smooth install, like it worked for WSL and Ubuntu 16

notes

sbt version: not applicable - just adding the keyserver fails!

On the WSL page, there is already this issue, but for another application. Maybe it would be good to document the workaround once and for all for the sbt case? I have too little knowledge to apply the suggested fix to my sbt case. Can you help me?

Blocked on Upstream documentation

Most helpful comment

https://github.com/Microsoft/WSL/issues/3286#issuecomment-403914048 says it's a bug in gpg that's been fixed for a while, but not used by Ubuntu 18.04.
You could try https://github.com/Microsoft/WSL/issues/3286#issuecomment-402594992. ymmv.

All 3 comments

https://github.com/Microsoft/WSL/issues/3286#issuecomment-403914048 says it's a bug in gpg that's been fixed for a while, but not used by Ubuntu 18.04.
You could try https://github.com/Microsoft/WSL/issues/3286#issuecomment-402594992. ymmv.

Hello there! Thanks a lot for your help, it worked wonderfully! Now I can continue developing my scala library. Cheers!

Ran into this recently while playing on Docker, so I'll paste it here.

curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | sudo apt-key add
Was this page helpful?
0 / 5 - 0 ratings

Related issues

xuwei-k picture xuwei-k  Â·  3Comments

lxohi picture lxohi  Â·  3Comments

christobill picture christobill  Â·  3Comments

vhiairrassary picture vhiairrassary  Â·  3Comments

thiaguten picture thiaguten  Â·  3Comments