Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI snap install method fails under WSL Ubuntu 18.04 #1159

Closed
edmorley opened this issue Dec 5, 2018 · 2 comments
Closed

CLI snap install method fails under WSL Ubuntu 18.04 #1159

edmorley opened this issue Dec 5, 2018 · 2 comments

Comments

@edmorley
Copy link
Member

edmorley commented Dec 5, 2018

Do you want to request a feature or report a bug?

Bug (or at least a gotcha that would be good to document)

What is the current behavior?

  1. Enable Windows Subsystem for Linux on latest Windows 10 Pro
  2. Install Ubuntu from the Windows Store (the default Ubuntu entry there maps to 18.04)
  3. Open a WSL terminal
  4. Follow the "Ubuntu 16.04+" instructions on https://devcenter.heroku.com/articles/heroku-cli#download-and-install , which say to sudo snap install --classic heroku
ed@WSL:/c/Users/Ed/src$ sudo snap install --classic heroku
[sudo] password for ed:
error: cannot communicate with server: Post http://localhost/v2/snaps/heroku: dial unix /run/snapd.socket: connect: no such file or directory

What is the expected behavior?

Either:

  1. No error and install inside WSL using Snap works
  2. Or, documentation says WSL not supported and/or snap install script detects this case and aborts with a user-friendly error
@edmorley edmorley changed the title Heroku CLI snap install fails under WSL Ubuntu 18.04 CLI snap install method fails under WSL Ubuntu 18.04 Dec 5, 2018
@altimmons
Copy link

Snap in general appears to fail under Ubuntu.

@mrbiggleswirth
Copy link

Also having problems installing Heroku CLI under WSL 2, Ubuntu 20.04.

$ sudo snap install heroku --classic

Interacting with snapd is not yet supported on Windows Subsystem for Linux.
This command has been left available for documentation purposes only. 


$ lsb_release -a

No LSB modules are available.
Distributor ID:  Ubuntu
Description:     Ubuntu 20.04.1 LTS
Release:         20.04
Codename:        focal

@mimen mimen closed this as completed Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants