Software Updates
How to upgrade
to the latest development version
- Enter the RPi's terminal.
- Run the following command:
forklift pallet upgrade @main - Reboot the RPi, e.g. by running:
sudo reboot
If the above command fails with an error message that you have changes which are not yet saved in a Git commit or which might not be in a remote Git repo:
-
Run the following command to check for uncommitted changes:
git -C ~/.local/share/forklift/pallet/ status -
Run the following command to check for unpushed commits:
git -C ~/.local/share/forklift/pallet/ log -
Decide whether you want to
git commitandgit pushany changes listed in the output of that command before performing the software upgrade. -
Run the following command:
forklift pallet upgrade --force @mainwarningThis command will permanently delete any local changes you've made! You'll lose any changes which you haven't already backed up (e.g. by committing and pushing them to GitHub).
-
Reboot the RPi, e.g. by running:
sudo reboot