apt-get update 报错 changed its ‘Version’ value from

apt-get update 报错 N: Repository 'http://mirrors.tencentyun.com/debian buster InRelease' changed its 'Version' value from '10.6' to '10.11'

apt-get update 报错
apt-get update 报错

解决的方法

apt-get update --allow-releaseinfo-change
apt-get update
Get:1 http://mirrors.tencentyun.com/debian buster InRelease [122 kB]
Get:2 http://mirrors.tencentyun.com/debian buster-updates InRelease [51.9 kB]
Get:3 http://mirrors.tencentyun.com/debian-security buster/updates InRelease [65.4 kB]
Reading package lists... Done
N: Repository 'http://mirrors.tencentyun.com/debian buster InRelease' changed its 'Version' value from '10.6' to '10.11'
E: Repository 'http://mirrors.tencentyun.com/debian buster 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.
E: Repository 'http://mirrors.tencentyun.com/debian buster-updates InRelease' changed its 'Suite' value from 'stable-updates' to 'oldstable-u
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
E: Repository 'http://mirrors.tencentyun.com/debian-security buster/updates 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.