Failed to fetch repo

1. The problem I’m having:

I ran an update using apt and caddy’s repo is throwing errors.

2. Error messages and/or full log output:

sudo apt update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 https://download.docker.com/linux/debian bullseye InRelease
Err:5 https://dl.cloudsmith.io/public/caddy/stable/deb/debian any-version InRelease
  402  Payment Required [IP: 2600:9000:238d:fc00:e:f4d2:20c0:93a1 443]
Err:6 https://dl.cloudsmith.io/public/caddy/xcaddy/deb/debian any-version InRelease
  402  Payment Required [IP: 2600:9000:238d:fc00:e:f4d2:20c0:93a1 443]
Hit:7 https://packagecloud.io/ookla/speedtest-cli/debian bullseye InRelease
Reading package lists... Done
E: Failed to fetch https://dl.cloudsmith.io/public/caddy/stable/deb/debian/dists/any-version/InRelease  402  Payment Required [IP: 2600:9000:238d:fc00:e:f4d2:20c0:93a1 443]
E: The repository 'https://dl.cloudsmith.io/public/caddy/stable/deb/debian any-version InRelease' is no longer signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch https://dl.cloudsmith.io/public/caddy/xcaddy/deb/debian/dists/any-version/InRelease  402  Payment Required [IP: 2600:9000:238d:fc00:e:f4d2:20c0:93a1 443]
E: The repository 'https://dl.cloudsmith.io/public/caddy/xcaddy/deb/debian any-version InRelease' is no longer signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

3. Caddy version:

caddy version
v2.6.4 h1:2hwYqiRwk1tf3VruhMpLcYTg+11fCdr8S3jhNAdnPy8=

4. How I installed and ran Caddy:

a. System environment:

OS Debian 12

b. Command:

NA

c. Service/unit/compose file:

NA

d. My complete Caddy config:

NA

5. Links to relevant resources:

NA

Yep, known issue. It’s fixed now, see:

All good now, thanks.

sudo apt update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian-security bookworm-security InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 https://download.docker.com/linux/debian bullseye InRelease
Get:5 https://dl.cloudsmith.io/public/caddy/stable/deb/debian any-version InRelease [7505 B]
Get:6 https://dl.cloudsmith.io/public/caddy/xcaddy/deb/debian any-version InRelease [6778 B]
Hit:7 https://packagecloud.io/ookla/speedtest-cli/debian bullseye InRelease
Fetched 14.3 kB in 1s (13.9 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.