![無法在 18.04 上更新 - 自訂儲存庫更改](https://rvso.com/image/912787/%E7%84%A1%E6%B3%95%E5%9C%A8%2018.04%20%E4%B8%8A%E6%9B%B4%E6%96%B0%20-%20%E8%87%AA%E8%A8%82%E5%84%B2%E5%AD%98%E5%BA%AB%E6%9B%B4%E6%94%B9.png)
我有用於我的個人包的自訂存儲庫。
今天,運行 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”我可以解決問題...
但為什麼會發生這種情況以及我如何在鏡像伺服器中解決它