[Howto] upgrade DEBIAN if distribution name has changed

posted in: computer | 0

problem: if the name of the DEBIAN distribution has changed (e.g. testing-version changes from “bullseye” to “bookworm”), aptitude denies the update procedure. It requests a manual command to proceed.

solution: execute the command apt-get update --allow-releaseinfo-change (it updates the file /etc/apt/sources.list). Afterwards it is possible to run the update.