hashicorp / hashicorp/packer

404 when trying to download https://rpm.releases.hashicorp.com/RHEL/10/x86_64/stable/repodata/repomd.xml

Open
#13,497 0 comments 6 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
15.8k
Forks
3.3k
PR merge metrics
PR metrics pending

Description

#### Community Note

* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
* Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
* If you are interested in working on this issue or have submitted a pull request, please leave a comment

When filing a bug, please include the following headings if possible. Any
example text in this template can be deleted.

#### Overview of the Issue

I want to install packer for centos 10 stream. I'm following the instructions for centos/rhel from https://developer.hashicorp.com/packer/install. but I get a 404 error.
```
0.800 Hashicorp Stable - x86_64 1.5 kB/s | 332 B 00:00
0.801 Errors during downloading metadata for repository 'hashicorp':
0.801 - Status code: 404 for https://rpm.releases.hashicorp.com/RHEL/10/x86_64/stable/repodata/repomd.xml (IP: 18.161.156.61)
0.812 Error: Failed to download metadata for repo 'hashicorp': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
------

```
#### Reproduction Steps
follow instructions as per https://developer.hashicorp.com/packer/install
"
sudo yum install -y yum-utils
sudo yum-config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo
sudo yum -y install packer
"

### Packer version

From `1.14.2`

### Operating system and Environment details

Centos 10 stream, but RHEL 10 will yield the same results.

Contributor guide

Open the contributing guide

Research direction

Start with the Packer installation instructions at developer.hashicorp.com/packer/install and reproduce the commands shown for CentOS/RHEL. Inspect the requested rpm.releases.hashicorp.com/RHEL/10/x86_64/stable/repodata/repomd.xml path and the reported Packer 1.14.2 context. Done means the documented installation flow no longer returns a 404 when installing Packer on CentOS 10 Stream or RHEL 10.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
release
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.