cloudflared
cloudflared copied to clipboard
Build packages for Ubuntu Jammy Jellyfish (22.04)
Describe the feature you'd like I would like to see Ubuntu Jammy Jellyfish (22.04) added as a supported version in Cloudflare's package repositories (https://pkg.cloudflare.com/)
Describe alternatives you've considered N/A
Additional context It would be nice to have a repo for jammy as it is a LTS release, since I prefer to install cloudflared using my package manager and have the package manager handle updates for cloudflared.
@F21 , we’re working on adding this and you should see it soon!
Hi, Any ETA yet?
Any specific date?
Any updates?
@maxpain Per #663, it's in internal beta and could be available in a few weeks (@sudarshan-reddy couldn't promise a date).
Looking forward to this. We use Ansible to manage our deployments and updates, and rely on apt for package management. Downloading binaries / .deb files directly isn't ideal in an automated environment.
You can now try out our beta pkg downloader if you want! (remember to add sudo wherever necessary)
mkdir -p --mode=0755 /usr/share/keyrings
curl https://pkg-beta.try.cloudflare.com/cloudflare-main.gpg -o /usr/share/keyrings/cloudflare-main.gpg
echo 'deb [signed-by=/usr/share/keyrings/cloudflare-main.gpg] https://pkg-beta.try.cloudflare.com/cloudflared jammy main' > /etc/apt/sources.list.d/cloudflared.list
apt-get update
apt-get install cloudflared
Let us know if you run into any problems.
This will also be available in pkg.cloudflare.com
soon.
Maybe change this webpage https://pkg.cloudflareclient.com/install so that it doesn't say that Jammy is a supported release until it actually is. Or indicate that it's coming soon - to avoid frustration.
@stephenogg as a note, https://pkg.cloudflareclient.com/install is for the Warp Desktop Client and not cloudflared
specifically. If all goes well with the testing of the new beta pkg downloader - we hope to consolidate these two repos to avoid confusion in the future.
Thank you for the feedback. We're looking forward to bringing this to General Availability.
https://pkg.cloudflareclient.com/install also lists Bionic (Ubuntu 18.04) as supported but I cannot find the cloudflared package after adding the repo: $ apt-cache search cloudflared
Will this be addressed here too? Thanks.
To re-iterate what @abelinkinbio said,
as a note, https://pkg.cloudflareclient.com/install is for the Warp Desktop Client and not cloudflared specifically. If all goes well with the testing of the new beta pkg downloader - we hope to consolidate these two repos to avoid confusion in the future.
Follow https://github.com/cloudflare/cloudflared/issues/640#issuecomment-1164391371 for cloudflared installs (Note: This is a beta for now)
Error why setting beta cloudflared on 22.04 jammy:
Setting up cloudflared (2022.7.1) ...
ln: failed to create symbolic link '/usr/local/bin/cloudflared': No such file or directory
dpkg: error processing package cloudflared (--configure):
installed cloudflared package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
cloudflared
E: Sub-process /usr/bin/dpkg returned an error code (1)```
That's being tracked here: https://github.com/cloudflare/cloudflared/issues/686. Did you already have a cloudflared installed as a service?
That's being tracked here: #686. Did you already have a cloudflared installed as a service?
No I don't
https://pkg.cloudflare.com/#ubuntu-jammy should work now.
i get this error
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://pkg.cloudflare.com/cloudflared jammy InRelease' doesn't support architecture 'i386'
i get this error when trying to install
Setting up cloudflared (2022.11.1) ...
ln: failed to create symbolic link '/usr/local/bin/cloudflared': No such file or directory
dpkg: error processing package cloudflared (--configure):
installed cloudflared package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
cloudflared
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
just an fyi, can get it to work if I run sudo mkdir /usr/local/bin
To fix:
Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://pkg.cloudflare.com/cloudflared jammy InRelease' doesn't support architecture 'i386'
Run:
sudo nano /etc/apt/sources.list.d/cloudflared.list
Change to:
deb [arch=amd64 signed-by=/usr/share/keyrings/cloudflare-main.gpg] https://pkg.cloudflare.com/cloudflared jammy main
arch=amd64
tells it to only grab 64bit.