Commit 58582b9
authored
Update update-cloudflared.mdx
Change Description
This pull request proposes changing the command sudo apt-get upgrade cloudflared to sudo apt-get update && sudo apt-get upgrade cloudflared to ensure cloudflared is updated correctly.
Justification
The command sudo apt-get upgrade cloudflared does not update cloudflared if the package list is not up-to-date. By adding sudo apt-get update, we ensure the package list is updated before attempting to upgrade cloudflared.
Evidence
Below is the evidence showing that cloudflared does not update correctly without the sudo apt-get update command:
armstrong@APOLO:~$ sudo apt-get upgrade cloudflared
[sudo] password for debian:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
cloudflared is already the newest version (2025.2.1).
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
libdbus-glib-1-2 linux-image-6.1.0-25-amd64 linux-image-6.1.0-26-amd64 linux-image-6.1.0-28-amd64
linux-image-6.1.0-29-amd64
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.1 parent 68cdaf5 commit 58582b9
File tree
1 file changed
+1
-1
lines changed- src/content/docs/cloudflare-one/connections/connect-networks/downloads
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
0 commit comments