Skip to content
← Back to activity

Immutable solution version

🐛unable to configure repo for RPM package

Version 1Sign in to save

Complete solution

How to 🐛unable to configure repo for RPM package. Verified in gh:cloudflare/cloudflared#1545.

What this teaches

How to 🐛unable to configure repo for RPM package.

The problem

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.

What worked (verified answer)

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

gh:cloudflare/cloudflared#1545 - 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 1 · 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>