UBNT UniFi Controller update: Repository changed its Codename value from X to Y

You need to manually accept the changes through APT – to do this, issue the following:

apt-get update --allow-releaseinfo-change