我有用于存储我的个人包的自定义存储库。
今天,运行 sudo apt update 和 sudo apt full-upgrade 后,我看到:
Get:1 http://XXX/ubuntu-custom bionic/ InRelease [2,061 B]
E: Repository 'http://XXX/ubuntu-custom bionic/ InRelease' changed its 'Origin' value from 'ubuntu-custom' to 'root'
E: Repository 'http://XXX/ubuntu-custom bionic/ InRelease' changed its 'Label' value from 'ubuntu-custom' to 'root'
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]
我知道如果我运行“apt-get update --allow-releaseinfo-change”我就可以解决问题......
但为什么会发生这种情况以及我如何在镜像服务器中解决它