Debian 10 (Buster) was released two hours ago. \o/
When using ‘apt-get update’, I can see the message:
E: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'testing' to 'stable' N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
# apt-get --allow-releaseinfo-change update
You can also just use
# apt update
Instead of apt-get 😉
Or just use “apt update” instead of “apt-get update”. It asks interactively:
E: Repository ‘http://security.debian.org buster/updates InRelease’ changed its ‘Suite’ value from ‘testing’ to ‘stable’
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Do you want to accept these changes and continue updating from this repository? [y/N]
Using apt instead of apt-get, it asks only for the confirmation for the change, if you press ‘y’ it does the change for you.