Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: PPA change / 'does not have a Release file' issue #60

Closed
wants to merge 1 commit into from
Closed

Fix: PPA change / 'does not have a Release file' issue #60

wants to merge 1 commit into from

Conversation

eriteric
Copy link

Just following the instructions as laid out here: https://pkg.cloudflare.com/ for ubuntu


- name: Add Cloudflare PPA
apt_repository:
repo: 'deb http://pkg.cloudflare.com/ xenial main'
repo: 'deb [signed-by=/usr/share/keyrings/cloudflare-main.gpg] https://pkg.cloudflare.com/cloudflared jammy main'
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

However I had to amend the following for this to work for me:

- name: Add Cloudflare PPA
  apt_repository:
    repo: 'deb http://pkg.cloudflare.com/cloudflared jammy main'

@tangrufus
Copy link
Member

tangrufus commented Aug 19, 2022

Thanks for the PR.

I believe the new ppa doesn't contains the cfca package.
Anyone knows where is the cfca package hosted now?

I've tried

$  docker run -it ubuntu:20.04

// Inside docker

$ apt-get update && apt-get install curl sudo
$ sudo mkdir -p --mode=0755 /usr/share/keyrings
$ curl -fsSL https://pkg.cloudflare.com/cloudflare-main.gpg | sudo tee /usr/share/keyrings/cloudflare-main.gpg >/dev/null
$ echo 'deb [signed-by=/usr/share/keyrings/cloudflare-main.gpg] https://pkg.cloudflare.com/cloudflared jammy main' | sudo tee /etc/apt/sources.list.d/cloudflared.list

$ sudo apt-get update && sudo apt-get install cloudflared
$ cfca --help
bash: cfca: command not found

$ sudo apt-get update && sudo apt-get install cfca
Hit:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease
Hit:4 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease
Get:5 https://pkg.cloudflare.com/cloudflared jammy InRelease [4279 B]
Fetched 4279 B in 0s (11.3 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package cfca

Also tried the Debian Buster and Debian Bullsey ppa according to https://pkg.cloudflare.com/, no luck.


Note we are using the cfca command to generate certificates at https://github.com/TypistTech/trellis-cloudflare-origin-ca/blob/e5f253cbd15a5dfbabc0fa0b7cfda4550b056bb9/tasks/certificates.yml#L1-L8

@eriteric eriteric closed this by deleting the head repository Oct 9, 2022
@eriteric eriteric reopened this Oct 18, 2022
@eriteric eriteric closed this Oct 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants