[Bug 1810535] Re: go 1.10 fails to symlink misc into GOROOT

Hamilton Turner hamiltont at gmail.com
Fri Jan 24 00:13:05 UTC 2020


Same issue on 18.04. Resolved with $ cd /usr/lib/go-1.10/ ; sudo ln -s
../../share/go-1.10/misc misc


$ lsb_release -rd
Description:    Ubuntu 18.04.3 LTS
Release:        18.04

$ apt-cache policy golang-1.10-go
golang-1.10-go:
  Installed: 1.10.4-2ubuntu1~18.04.1
  Candidate: 1.10.4-2ubuntu1~18.04.1
  Version table:
 *** 1.10.4-2ubuntu1~18.04.1 500
        500 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     1.10.1-1ubuntu2 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages


** Tags added: bionic

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to golang-1.10 in Ubuntu.
https://bugs.launchpad.net/bugs/1810535

Title:
  go 1.10 fails to symlink misc into GOROOT

Status in golang-1.10 package in Ubuntu:
  Confirmed

Bug description:
  $ lsb_release -rd
  Description:	Ubuntu 16.04.5 LTS
  Release:	16.04

  $ apt-cache policy golang-1.10
  golang-1.10:
    Installed: 1.10.4-2ubuntu1~16.04.1
    Candidate: 1.10.4-2ubuntu1~16.04.1
    Version table:
   *** 1.10.4-2ubuntu1~16.04.1 500
          500 http://apt-u16-sjc.vip.dbxnw.net/annex-apt-xenial/apt/xenial xenial-updates/universe amd64 Packages
          100 /var/lib/dpkg/status
       1.10-1ubuntu1~16.04.1 100
          100 http://apt-u16-sjc.vip.dbxnw.net/annex-apt-xenial/apt/xenial xenial-backports/universe amd64 Packages

  Go 1.10 adds a "misc" directory to the distribution.  This directory
  must exist in $GOROOT.  Among other things, "misc" is required to
  serve the HTTP UI of `go tool trace`.  There should be a symlink such
  that /usr/lib/go-1.10/misc -> /usr/share/go-1.10/misc.  Without this
  symlink, `go tool trace` will serve 404 errors.

  To reproduce, try using `go tool trace -http`.  Your browser will get
  a 404 error if you view the trace.  To resolve, add the symlink.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/golang-1.10/+bug/1810535/+subscriptions



More information about the foundations-bugs mailing list