Closed ozbillwang closed 3 weeks ago
The approach used in the answer here may help: https://discuss.hashicorp.com/t/the-repository-https-apt-releases-hashicorp-com-focal-release-does-not-have-a-release-file/47790/13
Thanks, @sabuncumurat this confirmed the issue.
I finally fixed the issue with another approach.
sudo apt install -y unzip
sudo wget https://releases.hashicorp.com/packer/1.11.0/packer_1.11.0_linux_amd64.zip
sudo unzip packer_1.11.0_linux_amd64.zip
sudo chmod +x packer
sudo mv packer /usr/bin/packer
packer version
can't install packer in ubuntu 18.04. The same commands are fine last month
follow the official document: https://developer.hashicorp.com/packer/tutorials/docker-get-started/get-started-install-cli
If I ignore the error (
404 Not Found [IP: 18.67.93.76 443]
), I can't install the latest packer