[Linux] 升級unifi的相關錯誤

遇見的錯誤

E: Repository ‘http://dl.ubnt.com/unifi/debian stable InRelease’ changed its ‘Codename’ value from ‘unifi-5.14’ to ‘unifi-6.0’
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.

解法:

sudo apt-get update --allow-releaseinfo-change

再來

sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get autoremove