Repository navigation
docs: upgrade only the CLI package in system package instructions - #316
Merged
Merged
Conversation
The Debian command, "apt-get upgrade upsun-cli", upgraded every package on the system: apt-get upgrade does not limit itself to the packages named. In debian:bookworm-20230612-slim, "apt-get -s upgrade tzdata" reports 47 packages to upgrade, and "apt-get -s install --only-upgrade tzdata" reports 1. The apt, dnf and apk commands now upgrade only upsun-cli, and refresh the package index first, so a new release is not missed while dnf's metadata cache is valid. A yum command is added for older systems. The README notes that regular system package updates also upgrade the CLI. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
CLI buildsBuilt from 504fa54 (merged into the base branch). Downloads need a GitHub login, and expire after 7 days.
Or download one with the GitHub CLI, e.g.: gh run download 44064321978 -R upsun/cli -n cli-linux-amd64
chmod +x upsun
./upsun --versionOn macOS, if you downloaded it with a browser, remove the quarantine attribute before running it: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates the upgrade instructions for system package installs (
docs/install.md,README.md).Why
sudo apt-get update && sudo apt-get upgrade upsun-cli, upgraded every package on the system:apt-get upgradedoes not limit itself to the packages named. Indebian:bookworm-20230612-slim,apt-get -s upgrade tzdatareports 47 packages to upgrade, andapt-get -s install --only-upgrade tzdatareports 1.dnf upgrade -y upsun-clicould miss a new release until dnf's metadata cache expired.What
Each command upgrades only
upsun-cli, and refreshes the package index first:sudo apk update && sudo apk upgrade upsun-clisudo apk add --upgrade --update-cache upsun-clisudo apt-get update && sudo apt-get upgrade upsun-clisudo apt update && sudo apt install --only-upgrade upsun-clisudo dnf upgrade -y upsun-clisudo dnf upgrade --refresh upsun-clisudo yum clean expire-cache && sudo yum upgrade upsun-cliThe README's "Upgrade" section also notes that regular system package updates upgrade the CLI.
🤖 Generated with Claude Code