Cannot install the new GPG key from

Ok, let’s try one more time then :slight_smile:

Removing source & GPG Key

sudo rm /usr/share/keyrings/cloudflare-main.gpg
sudo rm /etc/apt/sources.list.d/cloudflared.list

apt update:

LANG=en_US.UTF-8 sudo apt update
Hit:1 fr[dot]archive[dot]ubuntu[dot]com/ubuntu jammy InRelease
Get:2 fr[dot]archive[dot]ubuntu[dot]com/ubuntu jammy-updates InRelease [114 kB]
Hit:3 download[dot]docker[dot]com/linux/ubuntu jammy InRelease
Hit:4 packages[dot]microsoft[dot]com/ubuntu/22[dot]04/prod jammy InRelease
Get:5 fr[dot]archive[dot]ubuntu[dot]com/ubuntu jammy-backports InRelease [99[dot]8 kB]
Get:6 fr[dot]archive[dot]ubuntu[dot]com/ubuntu jammy-security InRelease [110 kB]
Get:7 fr[dot]archive[dot]ubuntu[dot]com/ubuntu jammy-updates/main amd64 Packages [502 kB]
Get:8 fr[dot]archive[dot]ubuntu[dot]com/ubuntu jammy-updates/universe amd64 Packages [210 kB]
Fetched 1036 kB in 4s (275 kB/s)
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done

Cloudflare source is not here anymore, I’ll consider the removal OK.

Now to follow the instructions on pkg[dot]cloudflare[dot]com

sudo mkdir -p --mode=0755 /usr/share/keyrings

curl -fsSL pkg[dot]cloudflare[dot]com/cloudflare-main.gpg | sudo tee /usr/share/keyrings/cloudflare-main.gpg >/dev/null

And let’s try first with the jammy source

echo ‘deb [signed-by=/usr/share/keyrings/cloudflare-main.gpg] pkg[dot]cloudflare[dot]com/cloudflared jammy main’ | sudo tee /etc/apt/sources.list.d/cloudflared.list


apt update throws no errors…

Well, thanks for the help, kinda weird that redoing it from the start fixed, it.

Thanks for you time and help anyways :slight_smile:

1 Like