hashicorp / hashicorp/packer-plugin-amazon
Missing APT lists when provisioning amazon-ebs
- Dominant language
- Go
- Stars
- 91
- Forks
- 141
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 3
Description
_This issue was originally opened by @realies as hashicorp/packer#9966. It was migrated here as a result of the [Packer plugin split](https://github.com/hashicorp/packer/issues/8610#issuecomment-770034737). The original body of the issue is below._
#### Overview of the Issue
Occasionally seeing this in the very first steps of provisioning an image. Running Packer for a second time usually resolves it.
> amazon-ebs: E: can not open /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_bionic-backports_InRelease - fopen (2: No such file or directory)
#### Reproduction Steps
Run apt-get install on the latest ubuntu bionic AMI
### Packer version
Packer v1.5.5
### Simplified Packer Buildfile
If the file is longer than a few dozen lines, please include the URL to the
[gist](https://gist.github.com/) of the log or use the [Github detailed
format](https://gist.github.com/ericclemmons/b146fe5da72ca1f706b2ef72a20ac39d)
instead of posting it directly in the issue.
### Operating system and Environment details
NAME="Ubuntu"
VERSION="16.04.6 LTS (Xenial Xerus)"
EC2 t2.medium
Contributor guide
Assessment
This issue has not been assessed yet.