Trying to build Hugo on a new AWS install, build won't "go"


~$ uname -a
Linux ip-172-26-14-24 4.19.0-18-cloud-amd64 #1 SMP Debian 4.19.208-1 (2021-09-29) x86_64 GNU/Linux
~$ go version
go version go1.11.6 linux/amd64

Git clone

git clone


~/src/hugo$ go install --tags extended

Running Into

go: verifying checksum mismatch
        downloaded: h1:CRDpKE90NuksNOWe7qjq1JHh7yonOht8f7rzAJQSDhc=
        go.sum:     h1:NCWpmDDNjHNsrei6VmnYXzOiyZUxV8LVU19REGQ8dKA=

You should build with Go 1.16 or 1.17.
Once you have upgraded, run go clean -modcache and try again.