Debian OS Upgrades
An in-place upgrade is only recommended for experienced users.
Debian does support in-place upgrades of the operating system and, in general, all core AllStarLink packages will properly upgrade between supported versions. Third-party applications and scripts may not work properly or at all without additional upgrades for those.
Official Upgrade Instructions
The official Debian upgrade from Debian 12 to 13 can be found in the Debian 13 Release Notes.
-
Login to Debian and become root with
sudo -s. All commands following this are run as root. -
Ensure that all of the latest Bookworm packages are installed:
apt update apt upgrade -y apt dist-upgrade -yIt is not necessary to reboot into a new kernel if installed.
-
Change the
aptconfiguration to pull packages from the Trixie release:perl -pi -e 's/bookworm/trixie/g' \ /etc/apt/sources.list \ /etc/apt/sources.list.d/* -
Perform an update of the Debian package information:
apt updateIf the last few lines complain about the following:
N: Skipping acquire of configured file 'main/binary-armhf/Packages' as repository 'https://repo.allstarlink.org/public trixie InRelease' doesn't support architecture 'armhf' N: Skipping acquire of configured file 'beta/binary-armhf/Packages' as repository 'https://repo.allstarlink.org/public trixie InRelease' doesn't support architecture 'armhf' N: Skipping acquire of configured file 'devel/binary-armhf/Packages' as repository 'https://repo.allstarlink.org/public trixie InRelease' doesn't support architecture 'armhf'Then remove the "armhf" architecture legacy configuration with:
dpkg --remove-architecture armhf apt update -
Begin the upgrade-process first stage install:
apt upgrade -yIf you are prompted about restarting services it is safe to choose "Yes".
DO NOT reboot after this step.
-
Begin the upgrade-process second stage install:
apt dist-upgrade -y -
Reboot the system with the
rebootcommand. -
Login to Debian and become root with
sudo -s. -
Remove obsolete packages related to Debian 12:
apt autoremove -y -
Remove all legacy package data or other information that is no longer needed:
apt purge -y $(dpkg -l | grep -E '^rc' | awk '{print $2}') -
Run
asl-check-installand look for any installation problems. -
Test out your Asterisk/app_rpt system and any other applications.