-
Notifications
You must be signed in to change notification settings - Fork 10.2k
Closed
Labels
Description
Example URL(s)
Actual Behavior
This command on Debian
sudo apt-get update && sudo apt-get upgrade cloudflared
doesn't just upgrade cloudflared, but upgrades all upgradable packages on the system. This is because apt-get upgrade does not accept specific package names.
Expected Behavior
cloudflared should be updated to the newest version, but apt cannot do that. And sudo apt-get upgrade cloudflared is misleading.
Additional information
One can also try
sudo apt-get update && sudo apt-get install --only-upgrade cloudflared
But even so, the newest version of cloudflared will not be installed in Debian/Ubuntu system.
The second method (using dpkg -i) is much safer
curl --location --output cloudflared.deb https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64.deb && sudo dpkg -i cloudflared.deb
Upgrading all packages on a production server may lead to many issues and I believe Cloudflare knows about it more than any other companies. I hope the docs can be updated soon.