Skip to content

Commit

Permalink
Add a note for repairing swizzin after dist-upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
liaralabs committed Jun 26, 2023
1 parent f7edba1 commit ba199f3
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/guides/dist-upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,20 @@ Before updating anything, please ensure you're on the latest commit. If you are
sudo box update
```

:::note
If you forgot to update swizzin beforehand and you're getting an error such as as

```
WARN <New Distro> is not supported by swizzin at this stage.
```

Then, assuming swizzin has released support for your upgrade path, you'll need to manually pull down the latest version of the swizzin master branch:
```
cd /etc/swizzin
git pull
```
:::

If you don't know the OS or version you're running, you can determine it here with the command `lsb_release -a`. Your `codename` will hopefully correspond to a value above. The codename is the release that's in your current apt sources list (`/etc/apt/sources.list`). We will be changing this to the version you'd like to upgrade to.

Let's take the scenario where your server was delivered with Debian 11 (bullseye), but you'd like to upgrade to Debian 12 (bookworm). In this scenario, our upgrade path looks like this:
Expand Down

0 comments on commit ba199f3

Please sign in to comment.