Failed to Fetch - Error 402

Hi ! Hello everyone and sorry to be a bother if it’s an obvious problem

1. The problem I’m having:

I’ve seen that in the past the cloudsmith provider can hit its limit bandwith. How long do I have to wait ? Is there something you can do on your side ?

2. Error messages and/or full log output:

 Failed to fetch https://dl.cloudsmith.io/public/caddy/stable/deb/debian/dists/any-version/InRelease  402  Payment Required [IP: 99.86.91.79 443]
E: The repository 'https://dl.cloudsmith.io/public/caddy/stable/deb/debian any-version InRelease' is not 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.

a. System environment:

Ubuntu Debian 22.04

b. Command:

sudo apt update && sudo apt upgrade

OR

sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https curl
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | sudo gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | sudo tee /etc/apt/sources.list.d/caddy-stable.list
sudo apt update
sudo apt install caddy

See this issue:

1 Like