{"action":"opened","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/9763","repository_url":"https://api.github.com/repos/hashicorp/terraform","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/9763/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/9763/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/9763/events","html_url":"https://github.com/hashicorp/terraform/issues/9763","id":186454012,"number":9763,"title":"`vagrant up` build: multiple errors upgrading packages, installing prereqs, setting up go","user":{"login":"steven-collins-omega","id":1479479,"avatar_url":"https://avatars.githubusercontent.com/u/1479479?v=3","gravatar_id":"","url":"https://api.github.com/users/steven-collins-omega","html_url":"https://github.com/steven-collins-omega","followers_url":"https://api.github.com/users/steven-collins-omega/followers","following_url":"https://api.github.com/users/steven-collins-omega/following{/other_user}","gists_url":"https://api.github.com/users/steven-collins-omega/gists{/gist_id}","starred_url":"https://api.github.com/users/steven-collins-omega/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steven-collins-omega/subscriptions","organizations_url":"https://api.github.com/users/steven-collins-omega/orgs","repos_url":"https://api.github.com/users/steven-collins-omega/repos","events_url":"https://api.github.com/users/steven-collins-omega/events{/privacy}","received_events_url":"https://api.github.com/users/steven-collins-omega/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-01T04:00:06Z","updated_at":"2016-11-01T04:00:06Z","closed_at":null,"body":"### Expected Behavior\r\nWhat should have happened?\r\n\r\nA Vagrant box with a working build environment should have been set up.\r\n\r\n### Actual Behavior\r\nWhat actually happened?\r\n\r\n`go` and related tools are not installed correctly:\r\n\r\n```\r\nvagrant@terraform:/opt/gopath/src/github.com/hashicorp/terraform$ make test\r\n==> Checking that code complies with gofmt requirements...\r\n/opt/gopath/src/github.com/hashicorp/terraform/scripts/gofmtcheck.sh: line 5: gofmt: command not found\r\n==> Checking AWS provider for unchecked errors...\r\n==> NOTE: at this time we only look for uncheck errors in the AWS package\r\n==> Installing errcheck...\r\n/opt/gopath/src/github.com/hashicorp/terraform/scripts/errcheck.sh: line 9: go: command not found\r\n/opt/gopath/src/github.com/hashicorp/terraform/scripts/errcheck.sh: line 16: errcheck: command not found\r\n/bin/sh: 2: go: not found\r\nmake: *** [generate] Error 127\r\n```\r\n\r\n\r\n### Steps to Reproduce\r\n\r\nSimply follow the instructions in BUILDING.md.\r\n\r\n\r\n### Important Factoids\r\n\r\nHere is the last part of the output of `vagrant up`:\r\n\r\n```\r\n==> default: Upgrading packages ...\r\n==> default: W: Size of file /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty-security_main_source_Sources.gz is not what the server reported 152472 152862\r\n==> default: \r\n==> default: Current default time zone: 'Etc/UTC'\r\n==> default: Local time is now:      Tue Nov  1 03:50:31 UTC 2016.\r\n==> default: Universal Time is now:  Tue Nov  1 03:50:31 UTC 2016.\r\n==> default: Run 'dpkg-reconfigure tzdata' if you wish to change it.\r\n==> default: invoke-rc.d: policy-rc.d denied execution of stop.\r\n==> default: \r\n==> default: Configuration file '/etc/sudoers'\r\n==> default:  ==> Modified (by you or by a script) since installation.\r\n==> default:  ==> Package distributor has shipped an updated version.\r\n==> default:    What would you like to do about it ?  Your options are:\r\n==> default:     Y or I  : install the package maintainer's version\r\n==> default:     N or O  : keep your currently-installed version\r\n==> default:       D     : show the differences between the versions\r\n==> default:       Z     : start a shell to examine the situation\r\n==> default:  The default action is to keep your current version.\r\n==> default: *** sudoers (Y/I/N/O/D/Z) [default=N] ? \r\n==> default: \r\n==> default: Configuration file '/etc/sudoers'\r\n==> default:  ==> Modified (by you or by a script) since installation.\r\n==> default:  ==> Package distributor has shipped an updated version.\r\n==> default:    What would you like to do about it ?  Your options are:\r\n==> default:     Y or I  : install the package maintainer's version\r\n==> default:     N or O  : keep your currently-installed version\r\n==> default:       D     : show the differences between the versions\r\n==> default:       Z     : start a shell to examine the situation\r\n==> default:  The default action is to keep your current version.\r\n==> default: *** sudoers (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package sudo (--configure):\r\n==> default:  EOF on stdin at conffile prompt\r\n==> default: Errors were encountered while processing:\r\n==> default:  sudo\r\n==> default: E: Sub-process /usr/bin/dpkg returned an error code (1)\r\n==> default: Installing prerequisites ...\r\nExtracting templates from packages: 71%\r\nExtracting templates from packages: 100%\r\n==> default: \r\n==> default: Configuration file '/etc/sudoers'\r\n==> default:  ==> Modified (by you or by a script) since installation.\r\n==> default:  ==> Package distributor has shipped an updated version.\r\n==> default:    What would you like to do about it ?  Your options are:\r\n==> default:     Y or I  : install the package maintainer's version\r\n==> default:     N or O  : keep your currently-installed version\r\n==> default:       D     : show the differences between the versions\r\n==> default:       Z     : start a shell to examine the situation\r\n==> default:  The default action is to keep your current version.\r\n==> default: *** sudoers (Y/I/N/O/D/Z) [default=N] ? \r\n==> default: dpkg: error processing package sudo (--configure):\r\n==> default:  EOF on stdin at conffile prompt\r\n==> default: \r\n==> default: Creating config file /etc/mercurial/hgrc.d/hgext.rc with new version\r\n==> default: Errors were encountered while processing:\r\n==> default:  sudo\r\n==> default: E: Sub-process /usr/bin/dpkg returned an error code (1)\r\n==> default: Downloading go (1.7.3) ...\r\n==> default: Setting up go (1.7.3) ...\r\n==> default: install: cannot stat '/dev/stdin': Stale file handle\r\n```\r\n\r\n### References\r\n`git bisect` indicates that this failure was introduced at PR #8762.\r\n"}}
{"actor":{"display_login":"steven-collins-omega"}}