[pkg-golang-devel] Bug#890849: golang-1.8-go: Environment not set, go command not found

Łukasz Stelmach steelman at post.pl
Mon Feb 19 21:05:52 UTC 2018


Package: golang-1.8-go
Version: 1.8.1-1
Severity: normal

Dear Maintainer,

After installing golang-1.8-go (via golang-1.8) the go command is not
available.

    $ go
    bash: go: command not found

golang-1.8-go apparently provides neither:

* files in /etc/profile.d
* alternatives
* a wrapper in /usr/bin to check the environment and help user set it up.

Users need to set up their environment (PATH, GOPATH) manually.
Unfortunatelly this isn't well documented either. Neither golang-1.8-doc
nor golang-1.8-go provide a short README file with instructions how to
do it.


-- System Information:
Debian Release: 9.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8), LANGUAGE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages golang-1.8-go depends on:
ii  golang-1.8-src  1.8.1-1
ii  libc6           2.24-11+deb9u1

Versions of packages golang-1.8-go recommends:
ii  g++         4:6.3.0-4
ii  gcc         4:6.3.0-4
ii  libc6-dev   2.24-11+deb9u1
ii  pkg-config  0.29-4+b1

Versions of packages golang-1.8-go suggests:
pn  bzr              <none>
ii  ca-certificates  20161130+nmu1
ii  git              1:2.11.0-3+deb9u2
pn  mercurial        <none>
pn  subversion       <none>

-- no debconf information

-- 
Kind regards,
Łukasz Stelmach
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 617 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-golang-devel/attachments/20180219/b0de4a6e/attachment.sig>


More information about the pkg-golang-devel mailing list