You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Installation fails for Windows WSL Ubuntu 18.04.
To Reproduce
What I did:
sudo apt-get update
sudo apt install golang-go
go get -u github.com/justjanne/powerline-go
Error I get on go get -u github.com/justjanne/powerline-go:
# golang.org/x/term
/home/ukasz/go/src/golang.org/x/term/term_unix_linux.go:9:26: ioctlReadTermios redeclared in this block
previous declaration at /home/ukasz/go/src/golang.org/x/term/term_unix_aix.go:9:26
/home/ukasz/go/src/golang.org/x/term/term_unix_linux.go:10:27: ioctlWriteTermios redeclared in this block
previous declaration at /home/ukasz/go/src/golang.org/x/term/term_unix_aix.go:10:27
Environment:
Linux subsystem for Windows with Ubuntu 18.04 LTS
Shell: bash
The text was updated successfully, but these errors were encountered:
This looks like golang.org/x/term is broken on WSL Ubuntu 18.04? If any other user has more information on this, I’d love to try to debug it, as this seems like a very weird issue.
@hobogalaxy Your version of golang-go is too old. Please follow the official guide from the golang creators here https://github.com/golang/go/wiki/Ubuntu on how to install the correct version of golang:
Describe the bug
Installation fails for Windows WSL Ubuntu 18.04.
To Reproduce
What I did:
Error I get on
go get -u github.com/justjanne/powerline-go
:Environment:
The text was updated successfully, but these errors were encountered: