Upgrade a PiRogue
This guide shows how to upgrade the operating system and the features of a PiRogue. All the features of the PiRogue are Debian packages, so upgrading Debian upgrades the PiRogue. We advise you to upgrade your PiRogue weekly.
Back up your customizations
If you modified configuration files of the system by hand, copy them before upgrading: the upgrade overrides the files managed by the PiRogue packages.
- PiRogue 2.x and 3.x: upgrades try to keep your configuration, but keep a copy of the files listed in Configuration files managed by the packages in case an upgrade does not go as planned.
- PiRogue 1.x: every file listed in Configuration files managed by the packages is overwritten. Use
pirogue-ctlto keep your configuration across upgrades, see Configure a PiRogue 1.x.
Upgrade
On your PiRogue, run:
sudo apt update
sudo apt dist-upgrade
The upgrade can take some time. Reboot the PiRogue afterwards:
sudo reboot
Upgrade from PiRogue 2.x to 3.x
You cannot upgrade a PiRogue 2.x to 3.x with the commands above. They only install updates for the Debian version you already have, and PiRogue 3.x needs a newer Debian version:
- PiRogue 2.x runs on Debian 12.
- PiRogue 3.x runs on Debian 13.
To move to PiRogue 3.x, you have to reinstall the PiRogue:
- Export the data you want to keep.
- Copy the files listed in Back up your customizations.
- Reinstall the PiRogue:
- On a Raspberry Pi, flash the latest PiRogue OS image on the SD card. See Install a PiRogue.
- On another machine, install a fresh Debian 13, then install the PiRogue packages.
- Configure the PiRogue again. See Configure a PiRogue.
To see everything that changed in 3.x, read Changes in PiRogue 3.x.