Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu fails to install golang-go #7

Open
solarmosaic-arthur-meneau opened this issue Jan 12, 2021 · 1 comment
Open

Ubuntu fails to install golang-go #7

solarmosaic-arthur-meneau opened this issue Jan 12, 2021 · 1 comment

Comments

@solarmosaic-arthur-meneau

The included script fails due to the following error when executing line 8 of the setup.sh (sudo apt -y -qq install golang-go)

E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_4.4.0-197.229_amd64.deb 404 Not Found [IP: 18.232.150.247 80]

@hypernormalisation
Copy link

hypernormalisation commented Apr 27, 2021

Found the same issue - I think this is driven by the package name for go in the backports PPA they use being called "golang" instead of "golang-go".

Changing the file scripts/setup.sh, L10:

sudo apt-get -y -qq install golang-go -->
sudo apt-get -y -qq install golang

Fixed the issue for me and Packer successfully created the AMI image.

After updating the Terraform version requirement in instances/main.tf to be reflective of my distro's current version, I was able to complete the tutorial and access the web app running on my EC2 instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants