The error appears because Debian has published a new release and the Suite field of your repository changed, for example from stable to oldstable. Run apt-get --allow-releaseinfo-change update once, then apt-get update and apt-get upgrade work as usual again.
What the error looks like
A typical output on a Debian 12 (bookworm) server after the release of Debian 13 (trixie) on 9 August 2025:
root@vps:~# apt-get update
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Reading package lists... Done
E: Repository 'http://deb.debian.org/debian bookworm InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Depending on the repository, the line can also mention 'Version', 'Codename', 'Origin' or 'Label'. Since Debian 13, the previous releases move one step further: Debian 12 is now oldstable and Debian 11 is oldoldstable.
Why apt asks for confirmation
apt remembers the metadata of every repository from the Release file. If that metadata changes, apt stops and wants you to confirm the change. This is a security feature described in man apt-secure: nobody should be able to switch your server to a different distribution unnoticed. Your server is not broken, nothing has been installed or removed.
Fix: accept the change
Accept the new release information once:
apt-get --allow-releaseinfo-change update
If you only want to accept a changed suite and nothing else, use the narrower option:
apt-get --allow-releaseinfo-change-suite update
With the interactive apt update (instead of apt-get), apt asks directly whether you want to accept the changes. Answer with y. In scripts and cron jobs this prompt does not appear, there you need the option above.
Afterwards install the pending updates as usual:
apt-get update
apt-get upgrade
Check before you accept: Suite or Codename?
A changed Suite is harmless. Your server stays on the same Debian version and keeps receiving updates for it. A changed Codename is different: it usually means your sources point to stable instead of a codename like bookworm or trixie. Accepting it would pull a whole new Debian version onto your server with the next upgrade.
Check your sources:
grep -rn "stable" /etc/apt/sources.list /etc/apt/sources.list.d/
If stable shows up as distribution, replace it with the codename of your installed version. You can find it with cat /etc/os-release (line VERSION_CODENAME). Depending on the version, the entries are in /etc/apt/sources.list or in .sources files below /etc/apt/sources.list.d/.
Still on Debian 11? Then it is more than this error
Debian 11 (bullseye) reached the end of its Long Term Support on 31 August 2026. Since then there are no more security updates, and the packages have moved to archive.debian.org. Tricky: deb.debian.org still serves parts of the package index, so apt-get update seems to work, but apt-get install fails with 404 Not Found.
To get apt working again for the upgrade, point the sources to the archive:
deb http://archive.debian.org/debian bullseye main contrib non-free
deb http://archive.debian.org/debian-security bullseye-security main contrib non-free
Remove lines with bullseye-backports, that repository no longer exists. This is only a bridge. Plan the upgrade: Debian recommends going from 11 to 12 and then to 13, one release at a time. Create a backup first in the Cloud Manager via “Backup erstellen”. Alternatively, reinstall the server with a current Debian image, but this deletes all data on the disk.
Common pitfalls
- Third-party repositories: Repositories for PHP, Docker or databases can trigger the same message when their maintainer changes
Origin or Label. Check the URL in the error line. If it is a repository you added yourself and trust, accept the change the same way.
- “Release file is not valid yet”: This is a different error and usually means the clock on your server is wrong. See The time on my vServer is incorrect.
- The error comes back: The option only accepts the change that exists right now. After the next Debian release (oldstable becomes oldoldstable) you will see the message once more.
- Automatic updates stopped: unattended-upgrades and cron jobs fail silently on this error. After a new Debian release, run
apt-get update manually once and check the output.
Related articles