{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/WSL/issues/3286","repository_url":"https://api.github.com/repos/Microsoft/WSL","labels_url":"https://api.github.com/repos/Microsoft/WSL/issues/3286/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/WSL/issues/3286/comments","events_url":"https://api.github.com/repos/Microsoft/WSL/issues/3286/events","html_url":"https://github.com/Microsoft/WSL/issues/3286","id":330854159,"node_id":"MDU6SXNzdWUzMzA4NTQxNTk=","number":3286,"title":"Error importing key to apt keyserver in Ubuntu 18.04 on WSL","user":{"login":"sirredbeard","id":33820650,"node_id":"MDQ6VXNlcjMzODIwNjUw","avatar_url":"https://avatars2.githubusercontent.com/u/33820650?v=4","gravatar_id":"","url":"https://api.github.com/users/sirredbeard","html_url":"https://github.com/sirredbeard","followers_url":"https://api.github.com/users/sirredbeard/followers","following_url":"https://api.github.com/users/sirredbeard/following{/other_user}","gists_url":"https://api.github.com/users/sirredbeard/gists{/gist_id}","starred_url":"https://api.github.com/users/sirredbeard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sirredbeard/subscriptions","organizations_url":"https://api.github.com/users/sirredbeard/orgs","repos_url":"https://api.github.com/users/sirredbeard/repos","events_url":"https://api.github.com/users/sirredbeard/events{/privacy}","received_events_url":"https://api.github.com/users/sirredbeard/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-09T05:09:56Z","updated_at":"2018-06-12T16:34:08Z","closed_at":"2018-06-09T21:44:18Z","author_association":"CONTRIBUTOR","body":"* Your Windows build number:  10.0.17134.81\r\n\r\n* What you're doing and what's happening: \r\n\r\nBuilding MonoDevelop for Windows looks like a [real hassle](http://www.monodevelop.com/developers/building-monodevelop/#windows) and there are no binaries available.\r\n\r\nI decided to give MonoDevelop for Ubuntu binaries a try on WSL.\r\n\r\nI installed a clean Ubuntu 18.04 from the Microsoft Store.\r\n\r\nTo get it all caught up I executed:\r\n\r\n```\r\nsudo apt-mark hold ebtables # for the current upgrade bug\r\nsudo apt-get update\r\nsudo apt-get upgrade -y\r\n```\r\n\r\nand then I picked up with the [MonoDevelop IDE instructions](http://www.monodevelop.com/download/#fndtn-download-lin):\r\n\r\n```\r\nsudo apt install apt-transport-https dirmngr\r\nsudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF\r\n```\r\n\r\nThen I run into an issue.\r\n\r\nI receive the following error message:\r\n\r\n```\r\n$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF\r\n[sudo] password for hayden:\r\nExecuting: /tmp/apt-key-gpghome.BG01sRSmD5/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF\r\ngpg: connecting dirmngr at '/tmp/apt-key-gpghome.BG01sRSmD5/S.dirmngr' failed: IPC connect call failed\r\ngpg: keyserver receive failed: No dirmngr\r\n```\r\n\r\n* What's wrong / what should be happening instead:\r\n\r\ngpg isn't able to call dirmngr\r\n\r\nWhat I have attempted:\r\n\r\n1. Running dirmngr in another bash instance\r\n2. Making sure gpg-agent is running in the background\r\n3. This. https://stackoverflow.com/questions/49496667/gpg-key-generation-canceled and https://stackoverflow.com/questions/46673717/gpg-cant-connect-to-the-agent-ipc-connect-call-failed \r\n\r\n* [Strace of the failing command.](https://gist.github.com/sirredbeard/41ced701945eeb66e2cbfca0a44025a3)\r\n\r\nNote: I have also tried building MonoDevelop from source on Ubuntu in WSL, but ran into [this issue](https://github.com/mono/monodevelop/issues/5022)."},"comment":{"url":"https://api.github.com/repos/Microsoft/WSL/issues/comments/396653804","html_url":"https://github.com/Microsoft/WSL/issues/3286#issuecomment-396653804","issue_url":"https://api.github.com/repos/Microsoft/WSL/issues/3286","id":396653804,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjY1MzgwNA==","user":{"login":"therealkenc","id":7049700,"node_id":"MDQ6VXNlcjcwNDk3MDA=","avatar_url":"https://avatars1.githubusercontent.com/u/7049700?v=4","gravatar_id":"","url":"https://api.github.com/users/therealkenc","html_url":"https://github.com/therealkenc","followers_url":"https://api.github.com/users/therealkenc/followers","following_url":"https://api.github.com/users/therealkenc/following{/other_user}","gists_url":"https://api.github.com/users/therealkenc/gists{/gist_id}","starred_url":"https://api.github.com/users/therealkenc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/therealkenc/subscriptions","organizations_url":"https://api.github.com/users/therealkenc/orgs","repos_url":"https://api.github.com/users/therealkenc/repos","events_url":"https://api.github.com/users/therealkenc/events{/privacy}","received_events_url":"https://api.github.com/users/therealkenc/received_events","type":"User","site_admin":false},"created_at":"2018-06-12T16:34:08Z","updated_at":"2018-06-12T16:34:08Z","author_association":"COLLABORATOR","body":"I hate to look a 'closed' gift horse in the mouth, but this one merits some further attention because it will keep coming up until we have a work-around on the books for the `dirmngr` fail proper. The problem is unrelated to Mono or MonoDevelop, natch. [MariaDB](https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-16-04) (key `0xF1656F24C74CD1D8`) fails the same, as will every `apt-key` howto anyone has ever posted on the Interwebs.\r\n\r\nThe problem that `dirmngr` (`sudo apt install dirnmgr`) isn't running (or isn't autolaunched?) and thus there is nothing on the other end for `apt-key` via `gpg` to talk to. After around half an hour of investigation, like @sirredbeard, I wasn't able to make `dirmngr` at home on WSL manually. Maybe someone else will have better luck or suggestions."}}
{"actor":{"display_login":"therealkenc"}}