Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/content/docs/sprite-maintenance.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,25 @@

Fortunately, Sprites are disposable. If your workload doesn't require the Sprite to live long-term, upgrading is easy: destroy the Sprite and create a new one! If you need to copy files over, try [mounting the filesystem locally](/working-with-sprites/#mounting-filesystem-locally).

If creating a new Sprite is impractical, you can also upgrade Ubuntu in-place. Keep in mind that bundled software (such as agents and language toolchains) must be upgraded separately. Install the Ubuntu upgrader with:

Check warning on line 26 in src/content/docs/sprite-maintenance.mdx

View workflow job for this annotation

GitHub Actions / Vale linter

[vale] reported by reviewdog 🐶 [Fly.Spelling] Is 'upgrader' a typo? Raw Output: {"message": "[Fly.Spelling] Is 'upgrader' a typo?", "location": {"path": "src/content/docs/sprite-maintenance.mdx", "range": {"start": {"line": 26, "column": 204}}}, "severity": "INFO"}

Check warning on line 26 in src/content/docs/sprite-maintenance.mdx

View workflow job for this annotation

GitHub Actions / Vale linter

[vale] reported by reviewdog 🐶 [Fly.Spelling] Is 'toolchains' a typo? Raw Output: {"message": "[Fly.Spelling] Is 'toolchains' a typo?", "location": {"path": "src/content/docs/sprite-maintenance.mdx", "range": {"start": {"line": 26, "column": 144}}}, "severity": "INFO"}

```bash
sudo apt update
sudo apt install ubuntu-release-upgrader-core
```

With the upgrader installed, follow the [official instructions](https://ubuntu.com/server/docs/how-to/software/upgrade-your-release/) from Ubuntu. In short:

Check warning on line 33 in src/content/docs/sprite-maintenance.mdx

View workflow job for this annotation

GitHub Actions / Vale linter

[vale] reported by reviewdog 🐶 [Fly.Spelling] Is 'upgrader' a typo? Raw Output: {"message": "[Fly.Spelling] Is 'upgrader' a typo?", "location": {"path": "src/content/docs/sprite-maintenance.mdx", "range": {"start": {"line": 33, "column": 10}}}, "severity": "INFO"}

```bash
# upgrade to the latest packages for the current release
sudo apt upgrade

# checkpoint the filesystem
sprite-env checkpoints create --comment "Before Ubuntu upgrade"

# switch to the new release
sudo do-release-upgrade

# upgrade installed packages to the new release
sudo apt upgrade
sudo apt full-upgrade
```
Loading