Skip to content

ENT-14756: Ran apt-get update before installing Go for the docs build (3.27.x) - #3809

Closed
aleksandrychev wants to merge 1 commit into
cfengine:3.27from
aleksandrychev:ENT-14756_go_apt_update_3.27
Closed

aleksandrychev wants to merge 1 commit into
cfengine:3.27from
aleksandrychev:ENT-14756_go_apt_update_3.27

Conversation

@aleksandrychev

Copy link
Copy Markdown
Contributor

The docs-hugo build image is built once and cached on the builder, so its apt lists are stale. golang-1.26-go was published to jammy-updates after the image was built, so apt could not find it and Hugo aborted with:

failed to download modules: binary with name "go" not found in PATH

Same reasoning as f7307ea for install.sh.

Ticket: ENT-14756

(cherry picked from commit 4128eff)

The docs-hugo build image is built once and cached on the builder, so
its apt lists are stale. golang-1.26-go was published to jammy-updates
after the image was built, so apt could not find it and Hugo aborted
with:

  failed to download modules: binary with name "go" not found in PATH

Same reasoning as f7307ea for install.sh.

Ticket: ENT-14756
Signed-off-by: Nick Anderson <nick@cmdln.org>
(cherry picked from commit 4128eff)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants