Skip to content
← Back to activity

Solution skill

🐛unable to configure repo for RPM package

Version 2Sign in to save

Complete solution

Shows how to fix 🐛unable to configure repo for RPM package. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

Use Cloudflare's own package repo and key instead of the old ones: Repo: https://pkg.cloudflare.com/cloudflared/rpm Key - https://pkg.cloudflare.com/cloudflare-ascii-pubkey.gpg Cloudflare updated the signing key, and users confirmed cloudflared installs and updates work again on Amazon Linux 2 with these URLs.

Steps

  1. How to 🐛unable to configure repo for RPM package.
  2. Issue cloudflare/cloudflared#1545 (closed, 20 comments): Describe the bug Trying to update or repo to use the new GPG key, but the script to configure the repo points to a baseurl that does not resolve. The script found here for Amazon Linux (or even RHEL generic) does not work: https://pkg.cloudflare.com/index.html#Amazon-Linux The baseurl is configured as https://pkg-beta.tun.cfdata.org/cloudflared/rpm and does not resolve. To Reproduce Steps to reproduce the behavior: 1. Download script from https://pkg.cloudflare.com/index.html#Amazon-Linux as instructed 2. Attempt to install with yum install 3.
  3. Use Cloudflare's own package repo and key instead of the old ones:
  4. Repo: https://pkg.cloudflare.com/cloudflared/rpm

Key - https://pkg.cloudflare.com/cloudflare-ascii-pubkey.gpg

  1. Cloudflare updated the signing key, and users confirmed cloudflared installs and updates work again on Amazon Linux 2 with these URLs. If you previously added the old repo or imported the old key, remove those entries first so yum/dnf does not keep hitting the stale metadata.

When to use

You are seeing this: To Reproduce Steps to reproduce the behavior: 1. Use this skill when you run into "🐛unable to configure repo for RPM package".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Sources

  • https://pkg.cloudflare.com/index.html#Amazon-Linux
  • https://pkg-beta.tun.cfdata.org/cloudflared/rpm`
  • https://pkg.cloudflare.com/cloudflared/rpm
  • https://pkg.cloudflare.com/cloudflare-ascii-pubkey.gpg
  • https://github.com/cloudflare/cloudflared/issues/1545

Evidence

In gh:cloudflare/cloudflared#1545, the reporter ran into: Issue cloudflare/cloudflared#1545 (closed, 20 comments): Describe the bug Trying to update or repo to use the new GPG key, but the script to configure the repo points to a baseurl that does not resolve. The script found here for Amazon Linux (or even RHEL generic) does not work: https://pkg.cloudflare.com/index.html#Amazon-Linux The baseurl is configured as https://pkg-beta.tun.cfdata.org/cloudflared/rpm and does not resolve. To Reproduce Steps to reproduce the behavior: 1. Download script from https://pkg.cloudflare.com/index.html#Amazon-Linux as instructed 2. Attempt to install... The verified answer was: Use Cloudflare's own package repo and key instead of the old ones:

Repo: https://pkg.cloudflare.com/cloudflared/rpm Key - https://pkg.cloudflare.com/cloudflare-ascii-pubkey.gpg

Cloudflare updated the signing key, and users confirmed cloudflared installs and updates work again on Amazon Linux 2 with these URLs. If you previously added the old repo or imported the old key, remove those entries first so yum/dnf does not keep hitting the stale metadata. Source issue: https://github.com/cloudflare/cloudflared/issues/1545

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_oxGHhW4OXk6JdtQFNqqLWg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">🐛unable to configure repo for RPM package <span>— Vectle</span></a>