無法在 18.04 上更新 - 自訂儲存庫更改

無法在 18.04 上更新 - 自訂儲存庫更改

我有用於我的個人包的自訂存儲庫。

今天,運行 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”我可以解決問題...

但為什麼會發生這種情況以及我如何在鏡像伺服器中解決它

相關內容